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,955
» Latest member: samuel223
» Forum threads: 38,728
» Forum posts: 175,528

Full Statistics

Online Users
There are currently 57 online users.
» 1 Member(s) | 46 Guest(s)
Bing, Apple, Google, Facebook, AOL, AOL, DeaD_EyE

Latest Threads
How to retrieve money los...
Forum: General Coding Help
Last Post: samuel223
10 minutes ago
» Replies: 1
» Views: 7
extracting data from a us...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 1
» Views: 86
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
9 hours ago
» Replies: 3
» Views: 158
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 01:04 AM
» Replies: 0
» Views: 346
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,372
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,403
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 282
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 730
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 928
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,193

 
  parsing question
Posted by: ridgerunnersjw - Oct-06-2020, 12:40 AM - Forum: General Coding Help - Replies (3)

I have the following :

Output:
b'011;005;080;'
What is the best way to parse this to remove all and get 005 (middle term)?

Print this item

  chr codes
Posted by: JarredAwesome - Oct-05-2020, 11:50 PM - Forum: General Coding Help - Replies (3)

anyone know where I can find the code to get a superscript 2?

Thanks

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to retrieve money los... 10 minutes ago samuel223 samuel223 General Codin...
  extracting data from a us... 4 hours ago Perry Pedroski55 General Codin...
  [Tkinter] how to export a... 9 hours ago RonR Pedroski55 GUI
  Is the interpreter that c... Today, 01:04 helendamdam helendamdam General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish 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...
Most views
  The best Prog... 576850
  Tutorial Requ... 499367
  Web Scraping ... 440628
  Newbie with P... 384603
  New Users Int... 368553
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 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
samuel223 Today
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday

User Panel Messages

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