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,472
» Latest member: meditek
» Forum threads: 38,572
» Forum posts: 174,779

Full Statistics

Online Users
There are currently 503 online users.
» 1 Member(s) | 496 Guest(s)
Bing, Google, Yandex, Applebot, Baidu, suburbanprojects

Latest Threads
Pip help
Forum: General Coding Help
Last Post: meditek
9 hours ago
» Replies: 0
» Views: 76
Send SMS from my phone nu...
Forum: General Coding Help
Last Post: TheTechNexus
9 hours ago
» Replies: 4
» Views: 3,734
[SOLVED] [Beautiful Soup]...
Forum: General Coding Help
Last Post: Winfried
10 hours ago
» Replies: 3
» Views: 424
[SOLVED] [Windows] Change...
Forum: General Coding Help
Last Post: Winfried
11 hours ago
» Replies: 2
» Views: 346
Tkinter: Problem with sto...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:31 PM
» Replies: 1
» Views: 98
smbus.SMBus i2c code whic...
Forum: General Coding Help
Last Post: NewbyTyro
Yesterday, 11:41 AM
» Replies: 0
» Views: 68
Review of a ping tool mad...
Forum: Code Review
Last Post: suburbanprojects
Yesterday, 09:15 AM
» Replies: 2
» Views: 158
where variable arguments ...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 06:43 AM
» Replies: 1
» Views: 109
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-10-2025, 07:05 PM
» Replies: 10
» Views: 695
[Python] Issue of Adding ...
Forum: General Coding Help
Last Post: Aymen
May-10-2025, 06:39 PM
» Replies: 0
» Views: 113

 
  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: 157)
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

  A working code to upload a file using sftp?
Posted by: Python_FTP - Oct-23-2023, 10:36 AM - Forum: Networking - Replies (5)

Can anyone share a presently working Python code that uploads a local file to a publicly accessible FTP server for testing purposes? I have tried seve..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Pip help 9 hours ago meditek meditek General Codin...
  Send SMS from my phone nu... 9 hours ago aster TheTechNexus General Codin...
  [SOLVED] [Beautiful Soup]... 10 hours ago Winfried Winfried General Codin...
  [SOLVED] [Windows] Change... 11 hours ago Winfried Winfried General Codin...
  Tkinter: Problem with sto... Yesterday, 13:31 iforire deanhystad General Codin...
  smbus.SMBus i2c code whic... Yesterday, 11:41 NewbyTyro NewbyTyro General Codin...
  Review of a ping tool mad... Yesterday, 09:15 suburbanprojects suburbanprojects Code Review
  where variable arguments ... Yesterday, 06:43 Skaperen Gribouillis News and Disc...
  problems with netcdf if I... 05-10, 19:05 Blaubart Blaubart General Codin...
  [Python] Issue of Adding ... 05-10, 18:39 Aymen Aymen General Codin...
  ModuleNotFoundError: No m... 05-10, 17:56 Wimpy_Wellington Wimpy_Wellington General Codin...
Most views
  The best Prog... 562050
  Tutorial Requ... 442311
  Web Scraping ... 427135
  Newbie with P... 359717
  Thread remain... 332610
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12046
buran 8168
snippsat 7324
deanhystad 6824
metulburr 5151
Top referrers
Googlepro 22
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
meditek Yesterday
TheTechNexus Yesterday
NewbyTyro Yesterday
iforire Yesterday
Player_433609 Yesterday

User Panel Messages

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