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,954
» Latest member: bianchiluca116
» Forum threads: 38,725
» Forum posts: 175,520

Full Statistics

Online Users
There are currently 49 online users.
» 1 Member(s) | 42 Guest(s)
Applebot, Bing, Google, AOL, AOL, snippsat

Latest Threads
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
2 hours ago
» Replies: 10
» Views: 29,143
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:00 PM
» Replies: 4
» Views: 9,299
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Yesterday, 09:08 AM
» Replies: 0
» Views: 185
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Yesterday, 03:29 AM
» Replies: 2
» Views: 608
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 02:36 AM
» Replies: 0
» Views: 208
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 765
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,019
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,270
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,632
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,194

 
  A problem with child class
Posted by: Truman - Jul-01-2018, 11:22 PM - Forum: General Coding Help - Replies (2)

[python]class Dog():
species = 'mammal'

def __init__(self, name, age):
self.name = name
self.age = age

def description(self):
re..... More

Print this item

  Disable Enter Key PyQt5 Wizard
Posted by: maffaz - Jul-01-2018, 08:42 PM - Forum: GUI - Replies (1)

I am making a Wizard in QWizard

I have QLineEdit and QPushButton

[python]
# Enter token
self.enter_token_box = QLineEdit()

..... More

Print this item

  FileNotFoundError: [Errno 2] No such file or directory: 'movies.csv'
Posted by: RedSkeleton007 - Jul-01-2018, 06:20 PM - Forum: General Coding Help - Replies (5)

I tried to run my movie list program:

[python]
#!/usr/bin/env python3
#MovieListCSV.py
#This program does pretty much the same thing as MovieLis..... More

Print this item

  wx.StaticBitmap change image
Posted by: royer14 - Jul-01-2018, 05:37 PM - Forum: GUI - Replies (4)

Hi,when I created a StaticBitmap, and a combobox. I had the idea that, as I would to change the image in StaticBitmap, from another event.
From combo..... More

Print this item

  Second frame (listbox) in GUI
Posted by: dimvord - Jul-01-2018, 04:43 PM - Forum: GUI - Replies (4)

I have a gui created with tkinter. I want to appear a second window/frame when a button is pressed, but my code instead of appearing a new window (exc..... More

Print this item

  Py2exe down
Posted by: negru555 - Jul-01-2018, 03:33 PM - Forum: Bar - Replies (8)

Hello guys. Is py2exe.net down? I tried to access it through VPN or emulators...
It is down for everyone?

Print this item

  How Do I Determine indentation in AST?
Posted by: jimo - Jul-01-2018, 02:14 PM - Forum: General Coding Help - Replies (3)

I am new to Python though I have many, many years of programming experience. Using Python 3.6.5 on Fedora 28, I am investigating automatic generation ..... More

Print this item

  syntax help
Posted by: Dieselkaine - Jul-01-2018, 02:03 PM - Forum: General Coding Help - Replies (3)

I've only just started to learn python, 2 days in.
After going through a few exercises i thought i could rewrite one of them into my own "game"
But ..... More

Print this item

  Updating the Pandas dataframe to existing excel workbook in existing worksheet.
Posted by: sanmaya - Jul-01-2018, 01:37 PM - Forum: Data Science - Replies (1)

Hi All,

i am new to python programming, i was trying to read as huge CSV file with pandas dataframe using df=pd.read_csv.
after reading the data i..... More

Print this item

  1. How can I automate this batch creation of documents? 2. How can I automate posting
Posted by: SamLearnsPython - Jul-01-2018, 12:49 PM - Forum: General Coding Help - Replies (2)

I want to create and upload hundreds of posts to local Wordpress and want to know if the following is possible.

I have a few hundred documents each..... More

Print this item

  Assign Label Text as number in Hz
Posted by: mekha - Jul-01-2018, 12:45 PM - Forum: GUI - Replies (17)

I'm totally new to this sound-involving programming, so I have this entrusted project to me, and they want my sound visualizer program can also showin..... More

Print this item

  Function / Arguments / Error Help
Posted by: Ghosty - Jul-01-2018, 10:05 AM - Forum: General Coding Help - Replies (8)

Hello! I'm new to python... so i did a TCP Packet Sniffer to have an idea on how python is on hacking since i wanna to do anti-TCP Packet sniffers etc..... More

Print this item

  Def - Return Question
Posted by: tryingtolearnpython - Jul-01-2018, 08:11 AM - Forum: General Coding Help - Replies (4)

Hi Everyone,

I'm trying to understand the below code. My question is why is it returning salary_bins?

So from what I understand it first defines..... More

Print this item

  Feedback on first Class
Posted by: fffrost - Jul-01-2018, 08:00 AM - Forum: Code sharing - Replies (2)

Hi, I decided it was time to start learning to use classes. The goal was to write a class for a t-test that has various methods and class variables th..... More

Print this item

  dll not loading to Ctypes
Posted by: Philbot - Jul-01-2018, 07:13 AM - Forum: General Coding Help - Replies (1)

Hi everyone

I am using Python 3.6 on windows and having problems with some API code that I was provided from a Website that uses what they call the..... More

Print this item

  im back
Posted by: metulburr - Jul-01-2018, 05:45 AM - Forum: News and Discussions - Replies (3)

hello brethren,

Its so odd to be back in civilization!!! I see my power went out so the snapshots stopped at some point. Got them running again. 50..... More

Print this item

  looking for an example to start with
Posted by: Skaperen - Jul-01-2018, 02:58 AM - Forum: GUI - Replies (4)

i have been wanting to add some buttons on the Ubuntu Unity framework. people have tried to tell me how but nothing ever has made a button ever show ..... More

Print this item

  Calling function-- how to call simply return value, not whole process
Posted by: juliabrushett - Jul-01-2018, 12:55 AM - Forum: Homework - Replies (2)

Hello,

The program I am creating will take in a value produced by the user and output both that value and the square of the value. I am to use fun..... More

Print this item

  END in file after f.write ?!
Posted by: hhanswurster - Jun-30-2018, 11:22 PM - Forum: General Coding Help - Replies (4)

Hey Guys,

i try to log some settings every time my script runs.

[python]# write log entry
f = open("/media/pi/6CD8-2DB41/images/log/log.txt","a")
f...... More

Print this item

  Load specific set of Rows CSV
Posted by: Marcuslang - Jun-30-2018, 07:18 PM - Forum: Data Science - Replies (6)

Hello,

I have a CSV file that looks something like this:

strings
strings
data (float)
data (float)
data (float)
strings
strings
strings
..... More

Print this item

  Some help with python code
Posted by: supersingh - Jun-30-2018, 06:10 PM - Forum: Homework - Replies (1)

Hey guys,
I am trying to improve upon a Buffon Needle Simulation. Basically, what I need is code that would require me to select an amount of needles..... More

Print this item

  printing text tables with consistent width
Posted by: Skaperen - Jun-30-2018, 03:11 PM - Forum: General Coding Help - Replies (7)

is there a facility that exists to make it easy to print out a multi-column table which has data of different width in each row of a column in a way w..... More

Print this item

  Problems with isdigit function
Posted by: Omegax77 - Jun-30-2018, 02:37 PM - Forum: Homework - Replies (2)

Made a guessing game but I think I coded something wrong when checking whether if the input is a number or not. My goal is that the user is only allow..... More

Print this item

  Want to increase performance of adb call
Posted by: fabiofacir - Jun-30-2018, 11:39 AM - Forum: General Coding Help - No Replies

Hello, I'm in a middle of a project,in which I need to control a couple android devices, physical and emulated, and run some touches to them, all of t..... More

Print this item

  Creating class - name not defined error
Posted by: python_alex - Jun-30-2018, 11:11 AM - Forum: General Coding Help - Replies (3)

Hello, I am trying to learn how to create a class by following the toss coin exercise from a textbook but I kept getting the error (NameError: name Co..... More

Print this item

  How to generate more MP3 files at the same time in Amazon Polly using Python code?
Posted by: makiwara - Jun-30-2018, 08:30 AM - Forum: General Coding Help - Replies (2)

Hi!

The programming language of Amazon Polly (TTS) is Python. However, I'm not very familiar with it yet.

I have a list with words and want Amazon P..... More

Print this item

  flask nginx full stack web app develepoment
Posted by: pascale - Jun-30-2018, 06:07 AM - Forum: Web Scraping & Web Development - Replies (5)

Hi,
I am running pi with stretch lite 4gb card by ssh
I have followed several tutorials, and set up my web app, I now want to develop and expand th..... More

Print this item

  Inter-window variables?
Posted by: Hopefully - Jun-30-2018, 04:52 AM - Forum: GUI - Replies (5)

I am trying to make a GUI to have choices on what action to do to fill another window. I can get the window to work with hard-coded options (and a dif..... More

Print this item

  How do I properly release my code open-source?
Posted by: Brennan - Jun-30-2018, 03:38 AM - Forum: News and Discussions - Replies (1)

I have a GitHub, and I already know how to create repositories. However, just uploading my code on GitHub isn't enough. I see many GitHub READM..... More

Print this item

  Passing a list by reference
Posted by: virgik89 - Jun-30-2018, 03:07 AM - Forum: General Coding Help - Replies (6)

Hi all, I'm trying to do a sort function and I'm having some trouble. The function is actually not sorting, it is something with passing the arguments..... More

Print this item

  How to round this code without getting an error?
Posted by: wlsa - Jun-30-2018, 03:03 AM - Forum: Homework - Replies (2)

I first used the following code
[python]balance=42
annualInterestRate=.2
monthlyPaymentRate=0.04


month=1
while month <=12:
balance=(bala..... More

Print this item

  How to stop an infinite loop in spyder if it's currently running?
Posted by: wlsa - Jun-30-2018, 02:11 AM - Forum: Homework - Replies (3)

I'm stunned I haven't been able to find anything online about stopping a program you've run.
The only thing I've been able to do so far is close spyd..... More

Print this item

  Printing coefficients
Posted by: Scott - Jun-30-2018, 01:47 AM - Forum: Data Science - Replies (1)

Hi Everyone,

I am trying to print coefficients for my logistic regression model so I can get the scores for each variable input to see how predicti..... More

Print this item

  detect when scanner stops
Posted by: darter - Jun-29-2018, 10:05 PM - Forum: General Coding Help - Replies (1)

I am automating some scanning of old film and would like to know when a scan is complete. There happens to be a green blinking light on the scanner th..... More

Print this item

  Attempt to build python 3.7.0 on OpenSuse Leap 15
Posted by: Larz60+ - Jun-29-2018, 10:05 PM - Forum: Data Science - Replies (14)

I attempted to build Python 3.7.0 on OpenSuse Leap 15.
The compile was successful (or at least it got to testing phase), but failed on _hashlib with ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  pip install requests does... 2 hours ago misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... Yesterday, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... Yesterday, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... Yesterday, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Yesterday, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad 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...
Most views
  The best Prog... 576793
  Tutorial Requ... 499170
  Web Scraping ... 440579
  Newbie with P... 384548
  New Users Int... 368426
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+ 12088
buran 8176
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bianchiluca116 Today
ShanePulse Today
Jorgecog Today
adamsmith12 Today
Ronny Today

User Panel Messages

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