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,422
» Latest member: alexfox
» Forum threads: 38,829
» Forum posts: 176,077

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 25 Guest(s)
Google, Bing, Facebook

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: bowlofred
1 hour ago
» Replies: 5
» Views: 110
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 746
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 511
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 454
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 803
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,763
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 732
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,033
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,622
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,380

 
  Problem: Retrieving Form data
Posted by: PythonDev - Oct-05-2020, 10:52 PM - Forum: General Coding Help - Replies (3)

Hi,
I'm using CGI to interact with form fields as shown in the example below:

[python]
# Function -> Main method that receives parameters that ha..... More

Print this item

  3.9.0 released today
Posted by: Larz60+ - Oct-05-2020, 09:51 PM - Forum: News and Discussions - No Replies

Python 3.9.0 was released today:
See the release notes here.

Print this item

  calculating and accumulating scores
Posted by: szap1977 - Oct-05-2020, 09:31 PM - Forum: General Coding Help - Replies (2)

I am trying to accumulate the numbers from the question and then print a reply based on whether the total is above or below 7, but I keep getting synt..... More

Print this item

  using 'while loop' output going into infinite loop...
Posted by: amitkb - Oct-05-2020, 08:35 PM - Forum: General Coding Help - Replies (2)

I am learning while loop. Below code is going into infinite loop when displaying the output. Please help.


[python]prompt = input("Please share yo..... More

Print this item

  Scroll Down Post Instagram Likes
Posted by: rmiguelantunes74 - Oct-05-2020, 07:38 PM - Forum: Web Scraping & Web Development - No Replies

Hi,

I need help, i have this code to extract my follows with scroll down
[python]
# Scroll Down to Verify How Many Followers
fBody = dr..... More

Print this item

  Complex X Tick Interval
Posted by: JoeDainton123 - Oct-05-2020, 07:27 PM - Forum: General Coding Help - No Replies

Hi all

I was hoping someone could help me solve an issue regarding setting the x tick interval for a plot.

I have a very large data set, the x v..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to solve equations, with groups of variables and or constraints?
Posted by: ThemePark - Oct-05-2020, 07:22 PM - Forum: General Coding Help - No Replies

I need a way to formulate a series of equations that are about finding at least one combination of groups of variables, that added together, equal a c..... More

Print this item

  code not working, NameError: name 's' is not defined
Posted by: ridgerunnersjw - Oct-05-2020, 06:39 PM - Forum: General Coding Help - Replies (4)

Good afternoon....
I have a serial device that I am able to communicate with. I decided to put the code into a class module and build it out. I am ..... More

Print this item

  Grid Line not appearing at 0
Posted by: JoeDainton123 - Oct-05-2020, 04:40 PM - Forum: General Coding Help - Replies (1)

Hello all

I have a strange problem when making sub plots.

I have 15 x sub plots in a figure, however all but 1 of the sub plots does not have a ..... More


Attached Files

Thumbnail(s)
   
Print this item

  rdkit installed but not imorted
Posted by: Sigurd - Oct-05-2020, 03:37 PM - Forum: General Coding Help - Replies (11)

Output when I try to run my program:

import rdkit
ModuleNotFoundError: No module named 'rdkit'

Process finished with exit code 1

Print this item

  Rainfall parsing script
Posted by: Tadey_10 - Oct-05-2020, 03:01 PM - Forum: General Coding Help - Replies (1)

Hi,

Asking to see if there are existing phyton scripts to parser rainfall data. The goal is to define the start and end of a rainfall event and com..... More

Print this item

  Ordered Learning Model (OLM)
Posted by: FranciscoPL - Oct-05-2020, 01:34 PM - Forum: Data Science - Replies (1)

Hello Everybody,

Does anyone know if there is an existing implementation in Python for this Machine Learning Model ? I´ve found it in Java, but in..... More

Print this item

  single range function
Posted by: AgileAVS - Oct-05-2020, 07:54 AM - Forum: Web Scraping & Web Development - Replies (3)

Hey I need help to create multiple loops in a single statement as:

'''for n1,n2,n3 in range(1,501):
........code'''

**TypeError: cannot unpack ..... More

Print this item

  How to keep overview about methods in a module?
Posted by: RedGreenBlue - Oct-05-2020, 07:08 AM - Forum: General Coding Help - Replies (3)

Dear Python community,

thank you that I could join you.
I have wondered about a question and maybe you could help me with your experience.

So ..... More

Print this item

  Grouping and summing of dataset
Posted by: jef - Oct-04-2020, 11:03 PM - Forum: General Coding Help - No Replies

I have this dataset that I imported with pandas:

[output]
Date Hour Water
2020-01-01 2 5
2020-01-01 3 45
2020-01-01 ..... More

Print this item

  Image Processing in Python
Posted by: JoeDainton123 - Oct-04-2020, 10:05 PM - Forum: General Coding Help - Replies (1)

Hello all

I wanted to get the communities advice on a python project I am considering on embarking on.

I have a PDF file that contains approx 50..... More

Print this item

  Issue in Tkinter with winfo_class() and LabelFrame
Posted by: ReDefendeur - Oct-04-2020, 09:09 PM - Forum: GUI - Replies (1)

Hello,
I'm ReDefendeur and I would like to tell you about a potential bug that I found in Tkinter.

When we do widget.winfo_class()
this re..... More

Print this item

  sqlite3 database problem
Posted by: Maryan - Oct-04-2020, 08:34 PM - Forum: General Coding Help - Replies (2)

Hi! In general im new with python. I'm making my first tkinter app, but for some reason im not able to insert entry into the database.

I wanted to ..... More

Print this item

  Creating symbolic matrix automated
Posted by: NMMST - Oct-04-2020, 08:19 PM - Forum: General Coding Help - Replies (2)

Hi,
I have to create a matrix
A = [ x5^5 X4^4 X3^3 X2^2 X1 1]

Print this item

Question Selenium Screenshots store in Database
Posted by: Nuwan16 - Oct-04-2020, 07:58 PM - Forum: Web Scraping & Web Development - Replies (3)

When taking web screenshots using selenium web driver, it saved PNG screenshots correctly. So, is there a way to stored these PNG screenshots in datab..... More

Print this item

  Printing to a printer connected to pi 4
Posted by: alan - Oct-04-2020, 07:33 PM - Forum: General Coding Help - Replies (2)

Hello all
I am a total newbie but with a background in BASIC, QBasic, MMBasic and Vb6. I am about to take delivery of a Raspberry Pi 4. I am intending..... More

Print this item

  Vertical Tabs Alignment in Tkinter
Posted by: muhammadasim - Oct-04-2020, 06:48 PM - Forum: GUI - Replies (2)

Hi there, Need some help.
I want the tabs to be aligned in the panel from the left. I have made them vertically positioned but couldn't correct it's ..... More

Print this item

  pseudogen
Posted by: ErnestTBass - Oct-04-2020, 05:31 PM - Forum: General Coding Help - No Replies

I am having some troubles using pseudogen. It generates pseudo code from python source code, a nice trick.. You can use the basic version or the Docke..... More

Print this item

  programming different formulas in need of help
Posted by: noahneature - Oct-04-2020, 05:09 PM - Forum: Homework - Replies (4)

D= the diameter of the storm in miles
t=time in hours

t=sqaure root of d to the power of 3 divided by 216

Can anyone give me suggestions on h..... More

Print this item

  Embedding python cause crash when use boost::asio multi threading
Posted by: udvatt108 - Oct-04-2020, 03:15 PM - Forum: General Coding Help - No Replies

Hi there!

I have a problem.

The program is that, im using embeded python in my c++ project (Win32), it is okay, but when i use boost::asio socke..... More

Print this item

  ModuleNotFoundError: No module named 'requests'
Posted by: Martin - Oct-04-2020, 02:31 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm new to programming.

I get ModuleNotFoundError: No module named 'requests'.

I tried many diffrent tips found on the internet but nothi..... More

Print this item

  hi guys, i'm back to learning python !
Posted by: astral_travel - Oct-04-2020, 02:28 PM - Forum: General Coding Help - Replies (6)

i'm trying to take a .CSV file and write its data into another file,
i don't wanna copy the file, if you'll look at my code you'll probably see what ..... More

Print this item

  Sharing my code
Posted by: emirasal - Oct-04-2020, 02:07 PM - Forum: General Coding Help - Replies (2)

Hello I'm new to programming so what I'm asking might be stupid. I made a program with python and want to share it with my friends. Do they also need ..... More

Print this item

  Dtype STR but output in Shell still int?
Posted by: johnjfk - Oct-04-2020, 12:54 PM - Forum: General Coding Help - Replies (6)

I'm fairly new in python so it happens that on certain problems I'm getting really stuck from time to time. I have already checked the web not finding..... More

Print this item

  Coin Toss - Distribution
Posted by: lasek723 - Oct-04-2020, 12:26 PM - Forum: General Coding Help - Replies (6)

I am currently doing the case studies from DataCamp - this script is confusing me

[python]
for x in range(100) :
tails = [0]
for x in ra..... More

Print this item

  About mathematical equations
Posted by: seyidcemkarakas - Oct-04-2020, 10:47 AM - Forum: General Coding Help - Replies (3)

Hi guys!
I try to write equatoins not like that:
y=x^2+3x+11
But i like to write how we can write on our hands.Like this image
[img]https://images..... More

Print this item

  Turtle / turtle question
Posted by: DPaul - Oct-04-2020, 08:30 AM - Forum: GUI - Replies (2)

I know that Turtle is python v2 and turtle is v3.
To import is use this:

from turtle import Turtle
t =  Turtle()
an..... More

Print this item

  Graph identifier
Posted by: samuelbachorik - Oct-04-2020, 08:16 AM - Forum: General Coding Help - Replies (4)

Hello guys i have question about identification graph movements.
Lets imagine movement like this in graph.
[img]<a href="https://ibb.co/VMTdyzm"><img..... More

Print this item

  Store a set in a dictionary's value
Posted by: SalsaBeanDip - Oct-04-2020, 01:18 AM - Forum: General Coding Help - Replies (9)

Hello everyone. I am having trouble understanding how to store a set in a dictionary's value.

I have to read a file that contains a chronological l..... More

Print this item

  Setting Tick Intervals In Sub Plots
Posted by: JoeDainton123 - Oct-03-2020, 09:20 PM - Forum: General Coding Help - Replies (1)

Hello all

I was hoping someone could point me in the right direction regarding setting the intervals for the Y axis ticks.

I have the following ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 1 hour ago Pedroski55 bowlofred General Codin...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580739
  Tutorial Requ... 522290
  Web Scraping ... 442915
  New Users Int... 388147
  Newbie with P... 387140
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexfox Yesterday
zalexisshulzeo8879 Yesterday
SUMIATI Yesterday
starboy25 Yesterday
zabenjamitop8877 01-10

User Panel Messages

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