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,243
» Latest member: dimitriwati
» Forum threads: 38,777
» Forum posts: 175,799

Full Statistics

Online Users
There are currently 53 online users.
» 1 Member(s) | 42 Guest(s)
Bing, Google, AOL, Mojeek, Apple, Facebook, tsgiannis

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
4 minutes ago
» Replies: 5
» Views: 135
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Today, 05:37 AM
» Replies: 1
» Views: 64
Data Science
Forum: Data Science
Last Post: mamta25
Today, 05:27 AM
» Replies: 3
» Views: 2,582
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 156
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 143
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 143
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,429
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,386
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,585
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 221

 
  find the sum of a series of values that equal a number
Posted by: ancorte - Oct-30-2023, 05:06 AM - Forum: General Coding Help - Replies (1)

Hello, i'm completely new of Python. I know that there would be a way to determine, form a series of values, which values are corresponding to a certa..... More

Print this item

  Mirror Video Image in realtime
Posted by: makingwithheld - Oct-30-2023, 04:48 AM - Forum: General Coding Help - Replies (1)

I want to write a video application that will mirror a HMDI video image in realtime on a RPi (4 or5). (Flip right and left)

Any suggestions would b..... More

Print this item

  a feature i would like to see added to Python
Posted by: Skaperen - Oct-30-2023, 12:30 AM - Forum: News and Discussions - No Replies

a feature i would like to see added to Python is [u]some kind of syntax element that means "ignore this and all else that follows until end of file"[/..... More

Print this item

  Pulsing notification icon
Posted by: menator01 - Oct-29-2023, 10:18 PM - Forum: Board - Replies (5)

Is it me or does anyone else not able to open the notifications unless in the forum topics?
It doesn't open on the forum index.

Print this item

  ModuleNotFoundError: No module named 'requests'
Posted by: Serg - Oct-29-2023, 09:11 PM - Forum: General Coding Help - Replies (18)

Installed the requests module, but it is not there. Why?


Attached Files

Thumbnail(s)
       
Print this item

  Can't Find Path
Posted by: hatflyer - Oct-29-2023, 06:05 PM - Forum: General Coding Help - Replies (8)

I get the following error {the last line shown} regarding the path. "The system cannot find the path specified: './Data/train' "

The location of th..... More

Print this item

  Shmup version 0.02
Posted by: menator01 - Oct-29-2023, 12:34 PM - Forum: Code sharing - No Replies

There may still be some bugs. Been trying to get them worked out.
See this threa[url=https://python-forum.io/thread-41008.html]..... More

Print this item

  Navigating file directories and paths inside Jupyter Notebook
Posted by: Mark17 - Oct-28-2023, 01:25 PM - Forum: General Coding Help - Replies (5)

Hi all,

I want to become fluent with entering code in JN to successfully navigate my directories.

For example, I want to import a .csv file like..... More

Print this item

  Trying to make a board with turtle, nothing happens when running script
Posted by: Quascia - Oct-28-2023, 12:52 PM - Forum: General Coding Help - Replies (3)

Hello,
I'm trying to make a board with turtle ( which I'm new to ) using loops and functions, but nothing seems to work. When I run the script, noth..... More

Print this item

  importing a module given a path to the file
Posted by: Skaperen - Oct-28-2023, 01:58 AM - Forum: News and Discussions - Replies (8)

i want to have my script take a path to a file that it gets (may be typed in, or read from some other file, or given as a command argument) and import..... More

Print this item

  Can i clean this code ?
Posted by: BSDevo - Oct-27-2023, 11:10 PM - Forum: General Coding Help - Replies (8)

Hi, im trying to clean my code and make less of and i would like to know if its possible to clean it ( im having issues with finding solutions when i ..... More

Print this item

  How to count total number of sheets in an excel workbook using polars
Posted by: sayyedkamran - Oct-27-2023, 09:54 PM - Forum: Data Science - No Replies

I am reading different excel file in python using polars.

How can I count the number of sheets in an excel file?

Print this item

  Python software
Posted by: prathimarao - Oct-27-2023, 06:56 PM - Forum: News and Discussions - Replies (4)

Hello,
I am new to Python programming. Please advise of how to practice sample programs?

Thank you,
Prathima.

Print this item

  Sort a list of dictionaries by the only dictionary key
Posted by: Calab - Oct-27-2023, 02:12 PM - Forum: General Coding Help - Replies (2)

I have the following structure:

my_list = [{"Dog": {"sound":"bark"}}, {"Cow": {"sound":"moo"}}, {"Cat": {"sound":"meow"}}]
I want to ..... More

Print this item

  Cannot display anything inside pygame window
Posted by: the_gullwing - Oct-27-2023, 11:23 AM - Forum: Game Development - Replies (5)

Hello,

Long story short...I'm on my trip to learn programming. Recently I've bought a python book as a starting point. I've got some basics covered..... More

Print this item

  How to add columns to polars dataframe
Posted by: sayyedkamran - Oct-27-2023, 11:12 AM - Forum: Data Science - Replies (1)

I am using polars to read an xlsx sheet in a dataframe.

How can I add columns to the start of the worksheet? Since using using "with_colums" add c..... More

Print this item

  find and group similar words with re?
Posted by: cartonics - Oct-27-2023, 06:55 AM - Forum: General Coding Help - Replies (4)

If i have 2 list of names

for example
list1 ="Augsburg II, Turkgucu Munchen,Bayern II, Burghausen, Memmingen, Wurzburger Kickers, Ansbach, Buchba..... More

Print this item

  Get current app window handle and bring window to front
Posted by: rjdegraff42 - Oct-27-2023, 12:16 AM - Forum: Networking - Replies (1)

I'm trying to set up a simple command line chat application between two computers on my home network. I have the server and client scripts working exa..... More

Print this item

  referencing an attribute
Posted by: Skaperen - Oct-26-2023, 10:41 PM - Forum: News and Discussions - Replies (2)

is there a way to make a variable be a reference to an attribute? i would like to set up a named reference to [inline]decimal.getcontext().prec[/inli..... More

Print this item

  GroupBy - Sum = Error [datetime64 type does not support sum operations]
Posted by: BSDevo - Oct-26-2023, 05:07 PM - Forum: Data Science - Replies (4)

Hi,
Im trying to solve this particular issue.
Im using two columns to display Price and Market.
[python]

lftcolumn, rghtcolumn = st.col..... More

Print this item

Question remove all comment ?
Posted by: SpongeB0B - Oct-26-2023, 04:09 PM - Forum: General Coding Help - Replies (7)

Hi everyone,

I would like to remove all the comments in few of my .py files.

I could write a Python program to do so, but maybe someone already ..... More

Print this item

  Take data from web page problem
Posted by: codeweak - Oct-26-2023, 01:57 PM - Forum: General Coding Help - Replies (5)

Best regards, I kindly ask you, I have a problem and I have just started using Python, I have spent hours trying to solve this little question but I c..... More

Print this item

  pipelined generator
Posted by: akbarza - Oct-26-2023, 11:10 AM - Forum: General Coding Help - Replies (10)

hi
in the below code, pipelined generator has been used to sum values in a" techcrunch.csv" file and the code is in site:
..... More


Attached Files

.csv   techcrunch.csv (Size: 91.34 KB / Downloads: 205)
Print this item

  non-latin characters in console from clipboard
Posted by: Johanson - Oct-26-2023, 07:10 AM - Forum: General Coding Help - Replies (3)

In interactive console session mode Python 3.12 (after entering commands line by line),
the code with the Polish letter "ł" does not open any window...... More

Print this item

  I want to create custom charts in Python.
Posted by: js1152410 - Oct-26-2023, 06:30 AM - Forum: General Coding Help - Replies (1)

Can someone recommend Python libraries that I can use to create custom charts similar to ? link removed (chartexpo click bait)

Print this item

  Search Excel File with a list of values
Posted by: huzzug - Oct-25-2023, 06:14 PM - Forum: General Coding Help - Replies (4)

I'm trying to search for values from a list of values within a csv file. That CSV comes from the system which contains details about the machine that ..... More

Print this item

  How to use asyncio run_forever to continuously handle requests
Posted by: mansky - Oct-25-2023, 04:46 PM - Forum: General Coding Help - Replies (1)

Hi all,

I have a Python script that handles a continuous stream of requests, processing them using asyncio.
I find that the script hangs at times..... More

Print this item

  How does "Run Time" in Python make sense?
Posted by: stamp1t - Oct-25-2023, 08:17 AM - Forum: News and Discussions - Replies (1)

Hello, I don't understand why it makes sense to talk about "runtime" in Python. In Python, each line is read, interpreted, and executed one by one. So..... More

Print this item

  pygame, sprites, and rects
Posted by: menator01 - Oct-25-2023, 04:25 AM - Forum: Game Development - Replies (12)

Taking the following snippet, is it possible to create a pygame.Rect() and add it to a sprite group?
Been looking for awhile and not really found any..... More

Print this item

  Unexpected output while using random.randint with def
Posted by: terickson2367 - Oct-24-2023, 04:59 AM - Forum: General Coding Help - Replies (1)

So, I just learned about the keyword def; it has been going really smoothly for me because I reuse chunks of code often. However, I have run into a hi..... More

Print this item

  how to save to multiple locations during save
Posted by: cubangt - Oct-23-2023, 09:24 PM - Forum: General Coding Help - Replies (1)

I have a script with currently outputs a csv for a report.. But now multiple departments want access to the raw data.

I currently have this to_csv ..... More

Print this item

  SORTED.group by and count average of two columns [ sum of col 1 / sum of col 2 ]
Posted by: BSDevo - Oct-23-2023, 07:31 PM - Forum: Data Science - Replies (1)

Hi, im trying to group by and get an average of two columns in Pandas then display inside Streamlit_Folium chropleth.geojson map but my KPI and Map a..... More

Print this item

  [split] Class takes no arguments
Posted by: bily071 - Oct-23-2023, 03:23 PM - Forum: General Coding Help - Replies (2)

Hi,
I am a beginner and learning python basics from book Python Crash Course but can't figure this out Wall :

[python]class Dog():
"""A ..... More

Print this item

Video SVG + Python experiments (using pygame-ce and/or cairoSVG)
Posted by: KennedyRichard - Oct-23-2023, 02:54 PM - Forum: Code sharing - Replies (4)

I've been making different experiments/demos with Nodezator and other Python libraries in order to identify programmi..... More

Print this item

  Turtle Star Fill Color Yellow-White Interchanging Color Effect
Posted by: codelab - Oct-23-2023, 02:45 PM - Forum: General Coding Help - Replies (9)

https://docs.python.org/3/_images/turtle-star.png
Does anyone know how this interchanging color is achieved?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 4 minutes ago tsgiannis tsgiannis GUI
  [split] print two differe... Today, 05:37 Reema Gribouillis General Codin...
  Data Science Today, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 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
Most views
  The best Prog... 578746
  Tutorial Requ... 509488
  Web Scraping ... 441878
  Newbie with P... 385844
  New Users Int... 375429
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 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
dimitriwati Today
johnsonlucas83 Today
ColorTig Today
AcoolPurpleOne1863 Today
racingsubby Today

User Panel Messages

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