Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,941
» Latest member: pllrdvalery
» Forum threads: 38,723
» Forum posts: 175,517

Full Statistics

Online Users
There are currently 61 online users.
» 0 Member(s) | 56 Guest(s)
Bing, AOL, Google, AOL, Mojeek

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 9
» Views: 486
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
Yesterday, 08:55 AM
» Replies: 1
» Views: 337
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,693
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,039
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,395
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,946
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,714
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,789
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,931
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,490

 
  write mariadb table rows query to each file?
Posted by: shams - Feb-02-2021, 03:45 PM - Forum: General Coding Help - Replies (1)

I want to query table pop and write each row to a deferent file, this is code, but the code write the last row to all three files:
[code]
# Create a..... More

Print this item

  Generate Random operator, take user input and validate the user
Posted by: mapypy - Feb-02-2021, 02:56 PM - Forum: General Coding Help - Replies (4)

Hi,

I have the following code:

[python]import random
number_one = random.randint(0, 100)
number_two = random.randint(0, 100)

rand_ops = ..... More

Print this item

  grouped data frame
Posted by: glitter - Feb-02-2021, 11:22 AM - Forum: Data Science - No Replies

Hi everyone,
I would like to group the dataframe using multiple keys. I used a data frame like (test_df) below:

dstIP srcIP at..... More

Print this item

  Advantages of Python
Posted by: zubairHassan - Feb-02-2021, 10:26 AM - Forum: News and Discussions - Replies (7)

Advantages of Python for]web app development companies.

  1. Easy to Read, Learn and Write. Python is a high-level programming language tha..... More

Print this item

  exec + subprocess = UnboundLocalError
Posted by: paul18fr - Feb-02-2021, 09:45 AM - Forum: General Coding Help - Replies (6)

Hi all

In the following code extract, "Launch.wait()" generates an error only if it is inserted in a function (it works in the program core); "Laun..... More

Print this item

  What reason have you quit a job?
Posted by: manas41 - Feb-02-2021, 09:21 AM - Forum: Bar - Replies (10)

I'm about to quit my job and second guessing whether my reason is "good enough" to leave this job which is good in some ways, not so good in other way..... More

Print this item

  Trouble getting data from an entry.
Posted by: Oshadha - Feb-02-2021, 06:09 AM - Forum: GUI - Replies (2)

Code:
[python]
from tkinter import *
from pytube import YouTube
from pytube import Playlist
from pytube.cli import on_progress

root = Tk()
ro..... More

Print this item

  ImportError: /home/pybind11_example.cpython-37m-x86_64-linux-gnu.so: undefined symbol
Posted by: chaitra - Feb-02-2021, 06:01 AM - Forum: General Coding Help - Replies (2)

hi im trying to execute python bindings for c/c++ uding pybind11 method
and im getting following error

ImportError: /home/pybind11_example.cpython..... More

Print this item

  "Silly Frenchman"? Really?
Posted by: CynthiaMoore - Feb-02-2021, 05:34 AM - Forum: Board - Replies (7)

Why do I have the label "Silly Frenchman". Weird.

PS: After waiting another 5 minutes.....

Print this item

  Why the 5 minute wait?
Posted by: CynthiaMoore - Feb-02-2021, 05:24 AM - Forum: Board - Replies (1)

Why was I required to wait 5 minutes from my last post before I could post this one? I don't see anything in the Help about it. Is it because I an a n..... More

Print this item

  Can't mark any threads solved
Posted by: CynthiaMoore - Feb-02-2021, 05:00 AM - Forum: Board - Replies (5)

I see in the help that it is recommended that the OP mark threads solved when (if) they are. It says there is button next to the New Reply button. I c..... More

Print this item

  Refresh data in python script while running in Terminal
Posted by: frankenchrist - Feb-02-2021, 04:56 AM - Forum: General Coding Help - Replies (4)

Hi,

I have gotten a script to pull in new helpdesk tickets from Zendesk and display then in a terminal window (Ubuntu). It pulls the information w..... More

Print this item

  Morse Assignment
Posted by: Cambridge - Feb-02-2021, 01:53 AM - Forum: Homework - Replies (3)

Step 2 (40 points):

In this step, you'll create a function to do the translation. This will make it easy to reuse the code for the if-elif logic wi..... More

Print this item

Thumbs Up Working with Threads
Posted by: Gilush - Feb-02-2021, 12:56 AM - Forum: General Coding Help - Replies (2)

Hi all,

So I have this small program that does multiple actions:

  • Mouse - Captures mouse location.
  • Capture system information to fi..... More

Print this item

  type change of dbshelve key between Python 2 and 3
Posted by: ccaudle - Feb-01-2021, 11:49 PM - Forum: General Coding Help - Replies (3)

I have an old database style program that I am attempting to port from python 2 to python 3. The program uses dbshelve to store about ten strings und..... More

Print this item

  goto
Posted by: jmabrito - Feb-01-2021, 09:49 PM - Forum: General Coding Help - Replies (34)

Smile if (str(k)) in numer:
print ('JÁ EXISTE')
goto to de line that begininig de boddy of program.
the number existe so, dont wrirte and m..... More

Print this item

  DisMal
Posted by: steve_shambles - Feb-01-2021, 08:29 PM - Forum: Code sharing - No Replies

I have just finished a new and weird GUI for DisMal,
disposable Email.

[Image: dismal-screenshot-2w.png]

GitHub..... More

Print this item

  install jupyter-nb within VSCode
Posted by: apollo - Feb-01-2021, 08:15 PM - Forum: General Coding Help - Replies (2)

hello dear all

pretty new to jupiter notebook - i run MX-Linux and Visual-Studio-Code - and now i want to integrate Jupyter Notebook within VSCode ..... More

Print this item

  A few newbie questions
Posted by: CynthiaMoore - Feb-01-2021, 07:59 PM - Forum: News and Discussions - Replies (4)

I am looking to get back into computer programming both for my personal use and to teach the grandkids (ages 5-14). I also want to learn a little abou..... More

Print this item

  At what point while building/testing Logistic Regression do I perform the PCA or MCA?
Posted by: deadendstreet2 - Feb-01-2021, 07:02 PM - Forum: Homework - No Replies

I'm really confused on this. My coursework doesn't go over PCA or MCA, which is not a huge deal because there are plenty of resources online, but it's..... More

Print this item

  Regression plotting + minor issue
Posted by: mohi_gh - Feb-01-2021, 04:19 PM - Forum: Data Science - No Replies

Hello guys! I'm trying to plot a regression like this from the attached file,
but I ran into these 2 problems;
1)It won't plot the size-price
2)I c..... More

Print this item

  i want to write symbole as varibales in python to make translator
Posted by: rachidel07 - Feb-01-2021, 03:22 PM - Forum: General Coding Help - Replies (9)

hey

i want to write symbole as varibales in python to make translator .
for example: i want this [-10;-30] became this (-10,-30).
i want my co..... More

Print this item

  Append excel sheet using openpyxl
Posted by: TammyP - Feb-01-2021, 02:24 PM - Forum: General Coding Help - Replies (1)

The code below does not append
Can anyone help please

[python]
from openpyxl import load_workbook
workbook_name = '/home/pi/Desktop/Data/Test.xl..... More

Print this item

  Flask request.form
Posted by: ifigazsi - Feb-01-2021, 01:49 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi!

I have three buttons on new_page.html
Only the first one is working . Add something button.
How to fix it?
I guess try-expect blocks are n..... More

Print this item

  Only show every nth tick in chart
Posted by: tgottsc1 - Feb-01-2021, 01:28 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I've plotted a chart using the following basic setup:

df.plot()
However, I only want to have a difference of 300 t..... More

Print this item

  gnome terminal playing with python
Posted by: jmex - Feb-01-2021, 12:40 PM - Forum: General Coding Help - Replies (12)

Hello everyone,

Hope you are fine and safe!
I have started learning and i want to play with gnome-terminal using python3 in ubuntu. I have googled..... More

Print this item

  Location of the objects that are moving
Posted by: rturus - Feb-01-2021, 12:05 PM - Forum: Game Development - Replies (1)

I have the following code. I would like to add scoring point whenever two rectangles collided with each other.
I am finding difficult to get the loc..... More

Print this item

  Removal of duplicates
Posted by: teebee891 - Feb-01-2021, 11:54 AM - Forum: General Coding Help - Replies (1)

Hi everyone,

I have made an anagram below from a words.txt file.

[python]with open('words.txt', 'r') as read:
line = read.readlines()

de..... More

Print this item

  Pandas dataframe without index
Posted by: tgottsc1 - Feb-01-2021, 08:53 AM - Forum: General Coding Help - Replies (3)

Hi guys,

I have a basic question about dataframes. However, my Google search has not yielded the desired results so far. I have data stored in a p..... More

Print this item

  email timer/rss feed timer
Posted by: ndiniz - Feb-01-2021, 05:23 AM - Forum: General Coding Help - Replies (1)

I want to create 2 auto-executable timers using python that will run upon windows startup, and these timers are going to be used for checking my gmail..... More

Print this item

  Help with input from specific devices
Posted by: Noob_hobbyist - Feb-01-2021, 03:16 AM - Forum: GUI - Replies (3)

I'm working on making a GUI in tkinter and I have 5 entry boxes. I want each entry box to only accept input from certain devices, such as a scanner o..... More

Print this item

  Read/Write binary file
Posted by: deanhystad - Jan-31-2021, 10:39 PM - Forum: General Coding Help - Replies (3)

I have a binary file that contains 32 bit floats. I would like to read the file into a matrix, rotate the matrix, and then write the matrix to a file..... More

Print this item

  pandas.read_excel does not seem to work
Posted by: hobbyist - Jan-31-2021, 10:38 PM - Forum: General Coding Help - Replies (4)

I run this code:

dataframe = pandas.read_csv(filename, usecols=[2], engine = 'python', skipfooter = skipfooter) 
and runs perfectly..... More

Print this item

  Two Questions, *args and //=
Posted by: beginner721 - Jan-31-2021, 08:54 PM - Forum: General Coding Help - Replies (8)

Hello,

Question one:
I want to use *args function, for multiple argument in math operation.
For example:

[python]
def plus(a,b):
..... More

Print this item

  Can you help me to merge the cells with OpenPyXL?
Posted by: TurboC - Jan-31-2021, 07:54 PM - Forum: General Coding Help - Replies (1)

Hi guys,

from the documentation, I already know how to merge cell..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 3 hours ago Anunderling deanhystad General Codin...
  A coding beginner needs h... Yesterday, 08:55 Littlefish paul18fr General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576647
  Tutorial Requ... 498721
  Web Scraping ... 440488
  Newbie with P... 384411
  New Users Int... 367803
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
pllrdvalery Yesterday
Littlefish Yesterday
Noya_Yonatan 09-21
Saipython555 09-21
Anunderling 09-21

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020