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,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,792

Full Statistics

Online Users
There are currently 36 online users.
» 1 Member(s) | 30 Guest(s)
Google, Bing, Apple, AOL, woooee

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
1 minute ago
» Replies: 1
» Views: 86
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:56 AM
» Replies: 4
» Views: 136
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 110
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 123
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,213
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,374
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,575
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 199
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,205
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,456

 
  Can anyone tell me why this code isn't looping properly?
Posted by: SuchUmami - Jun-16-2023, 11:42 PM - Forum: General Coding Help - Replies (2)

I made a basic buy bot for a crypto exchange. It searches a database and loops like I want it to, however when there is a trade that is triggered, the..... More

Print this item

  Finite fields (Galois library)
Posted by: J_Osorio - Jun-16-2023, 11:26 PM - Forum: General Coding Help - No Replies

Say, I want a finite field containing $2^n$ elements for some positive $n$. How to get a single random primitive element in Python, different from tha..... More

Print this item

  python-forum dot-org?
Posted by: treykeown - Jun-16-2023, 09:56 PM - Forum: Board - Replies (3)

Hey folks. I used to be a member of python-forum when this was a dot-org domain, many years ago. Looks like this might be the successor? If any of the..... More

Print this item

  Error flask_mysqldb
Posted by: IvanB - Jun-16-2023, 05:59 PM - Forum: General Coding Help - Replies (4)

I don`t understand why flask_mysqldb is giving errors, I am using an enviorment but i have flask and
Flask-MySQLDB but it keeps giving error. Someon..... More


Attached Files

Thumbnail(s)
               
Print this item

  Error when running kivy on python
Posted by: janeik - Jun-16-2023, 01:21 PM - Forum: General Coding Help - Replies (8)

desktop pc, win 10 , python 3.11, kivy 2.2

Hello. I am trying to run this code to confirm setup before I dive into python and kivy trying to achiev..... More

Print this item

  AttributeError
Posted by: foxxrunning - Jun-15-2023, 09:50 PM - Forum: General Coding Help - Replies (5)

I am using code to try to learn python. I am getting an AttributeError which I cannot figure out. Here is the error.

Exception in Tkinter callba..... More


Attached Files

.py   gui_cell_set_state.py (Size: 2.67 KB / Downloads: 299)
Print this item

  converting an int to bytes
Posted by: Skaperen - Jun-15-2023, 05:51 PM - Forum: News and Discussions - Replies (4)

i can convert an int to bytes by first converting to hexadecimal characters (and maybe prefixing a '0' to make an even number of digits). is there an..... More

Print this item

  Evaluate Calculations
Posted by: yrstruly - Jun-15-2023, 04:32 PM - Forum: Data Science - No Replies

Python Linear Regression Project
In the Python file, write a script that will perfom a linear regression on the data in data.txt and then calculate t..... More

Print this item

  Python GUI Programming
Posted by: rob101 - Jun-14-2023, 06:49 PM - Forum: News and Discussions - No Replies

There's a book that has just been published (isbn 978-93-5551-837-8) that could be very useful for any Python GUI developer.

It has been written fo..... More

Print this item

  scrape books
Posted by: moristrudeau4 - Jun-14-2023, 05:28 PM - Forum: General Coding Help - Replies (2)

Hello all! Can anyone help me?
I want to scrape all books of French language and export them to excel or csv. what i'm doing wrong?
[python]from bs4..... More

Print this item

  Development Environment Problems
Posted by: standenman - Jun-13-2023, 07:15 PM - Forum: General Coding Help - Replies (1)

I am having so many problems with my python development I am about to pull my hair out. I have created a virtual environment. I have accessing it va..... More

Print this item

  print(data) is suddenly invalid syntax
Posted by: db042190 - Jun-13-2023, 05:30 PM - Forum: General Coding Help - Replies (6)

Hi, my scripts are evolving but I seem to have taken a step backward. The script below works without the print(data) command but not with it. This w..... More

Print this item

  Object attribute behavior different in 2 scripts
Posted by: db042190 - Jun-13-2023, 05:12 PM - Forum: General Coding Help - Replies (1)

Hi, in scripts 1 and 2 below I got different behavior on object yf.Ticker.

Script 1 runs fine and in fact so too did a similar Script 2 for a mod..... More

Print this item

  Splitt PDF at regex value
Posted by: standenman - Jun-13-2023, 12:39 PM - Forum: Data Science - Replies (11)

I am trying to create code that will split a pdf into multiple files based upon a regex value in the pdf text. Specifically, I want to split this pdf..... More

Print this item

  Error: can't start new thread
Posted by: maha2 - Jun-13-2023, 12:26 PM - Forum: General Coding Help - No Replies

Hi!
When creating an instance of the pymongo.MongoClient class, I have the following error at irregular intervals:

[error]...
File "/srv/foo/..... More

Print this item

  Open a new window does not work
Posted by: Nietzsche - Jun-13-2023, 09:28 AM - Forum: General Coding Help - Replies (4)

Hello,

i have a ui for the live plotter window. In this UI i have an menu point "Settings" (liveplotterEinstellungen). I load the UI and then connect..... More

Print this item

  Using ID3 Estimator for Decision Trees
Posted by: student6306 - Jun-13-2023, 08:17 AM - Forum: General Coding Help - Replies (2)

Hi, I got stuck on question d and onwards some help would be very much appreciated.
Following is the code I have so far but on question d I'm totally..... More

Print this item

  io.UnsupportedOperation: fileno
Posted by: toml12953 - Jun-13-2023, 01:11 AM - Forum: General Coding Help - Replies (3)

I'm using Python 3.11.4 (64-bit) on windows 11.
I've installed libraries from the book, Introduction to Python Programming.
One of these is c..... More

Print this item

  Is there a more elegant way to concatenate data frames?
Posted by: db042190 - Jun-12-2023, 09:49 PM - Forum: General Coding Help - Replies (3)

Hi, I'm picturing a script that will include in a loop everything after the setting of "today" and before the "print" prototyped in the code below. T..... More

Print this item

  Using ID3 Estimator for Decision Trees
Posted by: student6306 - Jun-12-2023, 05:43 PM - Forum: Homework - Replies (2)

I got stuck on d and onwards some help would be very much appreciated :)))

[python]
%%capture --no-display
# hack omwille van bug in Id3Estimator..... More


Attached Files

Thumbnail(s)
               

.csv   studentsScores.csv (Size: 3.07 KB / Downloads: 283)
Print this item

  Syntaxt error part 2
Posted by: GoldenHarvey - Jun-12-2023, 05:41 PM - Forum: Game Development - Replies (2)

Hello, I have followed the steps laid out and I want to thank you for bringing me closer to a solution in writing the game code Idel.

However even ..... More


Attached Files

Thumbnail(s)
   
Print this item

  why is yfinance returning an ellipsis in the middle of ticket history
Posted by: db042190 - Jun-12-2023, 03:23 PM - Forum: General Coding Help - Replies (3)

Hi , I tried my hand at a little loop in Python. I'm staying away from doing some of this redirecting in a shell language because ultimately i want t..... More


Attached Files

Thumbnail(s)
       
Print this item

  why does VS want to install seemingly unrelated products?
Posted by: db042190 - Jun-12-2023, 01:26 PM - Forum: General Coding Help - Replies (3)

Hi, I thought if I was going to get more involved with Python, that developing scripts would be more effective under my already installed VS 2022 than..... More


Attached Files

Thumbnail(s)
   
Print this item

Question Need help for a python script to extract information from a list of files
Posted by: lephunghien - Jun-12-2023, 02:17 AM - Forum: General Coding Help - Replies (6)

I am new to Python and need help to make a script for the task. I am running a modified Autodock program and need to compile the results.

I have a ..... More

Print this item

  Interactive plots that can be embed in web page
Posted by: mouse9095 - Jun-12-2023, 01:03 AM - Forum: General Coding Help - Replies (1)

Hello,

I am curious if there is a way that I can make a Python plot with a parameter that is linked to an equation, and that parameter can be chan..... More

Print this item

  tkinter.TclError
Posted by: foxxrunning - Jun-11-2023, 10:23 PM - Forum: General Coding Help - Replies (10)

I have been trying to learn python and are using some lessons with small coding exercises. Lately I have gotten this error no matter which program I ..... More

Print this item

  queue for async function python telegram.ext
Posted by: noctious - Jun-11-2023, 02:40 PM - Forum: General Coding Help - No Replies

Hi, I have a telegram bot code in which you enter a number, and it counts down from that number to zero.

I need to create a queue to execute the coun..... More

Print this item

  Plot multiple 2D Curves in 3D
Posted by: stc - Jun-11-2023, 10:16 AM - Forum: General Coding Help - Replies (5)

Hello,

i want to plot 3 different 2D curves in a 3D coordinate system, so lets say 3 simple sine functions. One in x and y direction, one in x and ..... More

Print this item

  Google API Help?
Posted by: DavyThe007 - Jun-11-2023, 12:21 AM - Forum: General Coding Help - No Replies

Hi All

I'm fairly new to coding and have been relying heavily on ChatGPT, we get roughly 8 hours in after fleshing everything out, adding features,..... More

Print this item

Photo can't install yfinance
Posted by: db042190 - Jun-11-2023, 12:08 AM - Forum: General Coding Help - Replies (4)

Hi , I'm trying to get involved with a product that uses python. I tried everything imaginable as shown below in the command prompt images after down..... More


Attached Files

Thumbnail(s)
       
Print this item

Sad IMC Calculator but with a list of patients
Posted by: Booba - Jun-10-2023, 06:36 PM - Forum: Homework - Replies (1)

I created a BMI and MB calculator and everything is working fine! But now, I would like to apply this calculator to a list a patient and show result f..... More

Print this item

Question some logic help
Posted by: droidus - Jun-10-2023, 05:34 PM - Forum: General Coding Help - Replies (5)

I have a UPS, and once in a while, the driver crashes for some unknown reason. It needs to be (re)started using this command: upsdrvctl start. I've ..... More

Print this item

  Fixed colum width for rowLabels i Matplotlib
Posted by: pandabay - Jun-10-2023, 03:40 PM - Forum: General Coding Help - No Replies

Is there a way to set a min-width or in general width value to the row label cells (r1, r2) in the following code?

[python]import numpy as np
impo..... More

Print this item

  I am trying to scrape data to broadcast it on Telegram
Posted by: BarryBoos - Jun-10-2023, 06:34 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi all, I am one day old in Python development. I am using AI which already got me much further than I have ever expected to get. I got the bot to wor..... More

Print this item

  boto3 - Error - TypeError: string indices must be integers
Posted by: kpatil - Jun-09-2023, 05:07 PM - Forum: General Coding Help - Replies (7)

Hello,

Can someone help me how to fix the error i am getting here . Thanks

error is
Traceback (most recent call last):
File "/root/temp0/server",..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 1 minute ago tsgiannis woooee GUI
  Two arguments in input fu... Today, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578714
  Tutorial Requ... 509307
  Web Scraping ... 441858
  Newbie with P... 385814
  New Users Int... 375213
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
lary_p Today
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07

User Panel Messages

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