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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,312
» Latest member: elizabethlittle6258
» Forum threads: 38,801
» Forum posts: 175,923

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google, AOL, Twitter

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
7 hours ago
» Replies: 11
» Views: 318
Python compiler
Forum: General Coding Help
Last Post: noisefloor
7 hours ago
» Replies: 1
» Views: 75
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Yesterday, 07:34 PM
» Replies: 5
» Views: 93
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Yesterday, 05:51 PM
» Replies: 0
» Views: 52
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,129
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 206
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 732
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,840
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 213
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 168

 
  How to exclude characters when counting digits
Posted by: juliabrushett - Jul-02-2018, 05:01 AM - Forum: Homework - Replies (19)

Hello
I am trying to write a program that will count only numeric digits within a string, excluding all letters. What I have currently counts EVERYT..... More

Print this item

  How to save uploaded image url in database from Django?
Posted by: PrateekG - Jul-02-2018, 04:57 AM - Forum: Web Scraping & Web Development - Replies (14)

Hi All,

I have implemented a functionality-upload image to S3 from Django2.0.6+Python3.6+MySql.
And this functionality is working fine.
Now I wan..... More

Print this item

  parameter in function being involuntarily converted to str??
Posted by: juliabrushett - Jul-02-2018, 03:17 AM - Forum: Homework - Replies (8)

My program is to take in two numbers from a user, then sum all the values shared between those two numbers. I am not sure why my program isn't runnin..... More

Print this item

  Error?
Posted by: juliabrushett - Jul-02-2018, 03:07 AM - Forum: Homework - Replies (9)

The object of my program is to calculate one side of a triangle using pythagorean theorem. I feel like my code should work, but I keep receiving this..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 7 hours ago Lou noisefloor General Codin...
  Python compiler 7 hours ago NeoQuant noisefloor General Codin...
  Trading Risk management s... Yesterday, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... Yesterday, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
Most views
  The best Prog... 579512
  Tutorial Requ... 512969
  Web Scraping ... 442375
  Newbie with P... 386402
  New Users Int... 381783
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12113
buran 8196
snippsat 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
elizabethlittle6258 Today
StepanVoronin Today
QABOB Today
adityaN Today
NeoQuant Yesterday

User Panel Messages

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