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,582
» Latest member: Earnestinome
» Forum threads: 38,671
» Forum posts: 175,237

Full Statistics

Online Users
There are currently 210 online users.
» 1 Member(s) | 199 Guest(s)
Applebot, Baidu, Google, Facebook Dev, buran

Latest Threads
SECURE AND RETRIEVE YOUR ...
Forum: News and Discussions
Last Post: jadenthom9
2 hours ago
» Replies: 0
» Views: 22
How to add Permanent Sign...
Forum: Board
Last Post: vmars316
4 hours ago
» Replies: 0
» Views: 49
veri kazıma
Forum: Web Scraping & Web Development
Last Post: fehmikonkur
5 hours ago
» Replies: 9
» Views: 223
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: Jmathew1
Yesterday, 06:20 AM
» Replies: 4
» Views: 6,458
Post Body (for "Forum Usa...
Forum: Board
Last Post: hihi
Jul-20-2025, 06:17 AM
» Replies: 0
» Views: 65
None collapsing Tuple at ...
Forum: Code Review
Last Post: hihi
Jul-20-2025, 05:21 AM
» Replies: 0
» Views: 93
Label & OptionMenu widget...
Forum: GUI
Last Post: slate
Jul-20-2025, 02:21 AM
» Replies: 2
» Views: 161
Code stoped working
Forum: News and Discussions
Last Post: DeaD_EyE
Jul-19-2025, 10:55 AM
» Replies: 2
» Views: 178
ASCII-Codec in Python3 [S...
Forum: General Coding Help
Last Post: Gribouillis
Jul-19-2025, 08:53 AM
» Replies: 6
» Views: 10,556
How scan all ips from mai...
Forum: Networking
Last Post: MaahirThomas
Jul-18-2025, 07:09 PM
» Replies: 2
» Views: 424

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

  Use of if - and operators
Posted by: Pedro_Castillo - Oct-23-2023, 10:00 AM - Forum: General Coding Help - Replies (1)

Hi,

Is use of the code below accurate? I believe it is not however, my friend tells me it is.

[python]
age=int(input("Enter your age: "))

if 21<ag..... More

Print this item

  How do I stream and record at the same time with arducam?
Posted by: traderjoe - Oct-23-2023, 12:01 AM - Forum: General Coding Help - No Replies

Hi, I have a raspberry pi 3b with an arducam. I'm trying to stream to a network and record my stream to the pi at the same time. How do I do this?

..... More

Print this item

  Modules
Posted by: menator01 - Oct-22-2023, 05:49 PM - Forum: News and Discussions - No Replies

I'm re-writing my shmup code and breaking it down into modules. My question is, should I put each class into separate modules?
As of now I have a pag..... More

Print this item

  code management
Posted by: trix - Oct-22-2023, 03:26 PM - Forum: General Coding Help - Replies (3)

i was wondering how you normaly have to work with the code files.

i gonna make a big code whit different files, where i have to work on a lot of ti..... More

Print this item

  Returning Column and Row Data From Spreadsheet
Posted by: knight2000 - Oct-22-2023, 07:07 AM - Forum: General Coding Help - No Replies

Hello all,

I'm trying to use the data of a spreadsheet as two variables to iterate through a test webscraper script using pandas, but I'm a little ..... More


Attached Files

.xlsx   importurl.xlsx (Size: 9.65 KB / Downloads: 200)
Print this item

  Help naming functions
Posted by: Fuckingdogma - Oct-22-2023, 02:26 AM - Forum: Homework - Replies (1)

For my assignment, it says to "create a string called Q1 with a word, and then create a function called Q2 that loops through and prints each characte..... More


Attached Files

Thumbnail(s)
   
Print this item

  Filter data into new dataframe as main dataframe is being populated
Posted by: cubangt - Oct-21-2023, 11:31 PM - Forum: General Coding Help - Replies (8)

Is this possible, i am populating a dataframe with a few fields and thousands of rows that will be saved into a CSV. For a separate reason, i need cer..... More

Print this item

  Error: audioio has no attribute 'AudioOut'
Posted by: netwrok - Oct-21-2023, 10:55 PM - Forum: General Coding Help - Replies (3)

Having issues with audioio within CircuitPython giving the error 'audioio' has no attribute 'AudioOut'
AudioOut is used to set the audio interface fo..... More

Print this item

  dynamic variable name declaration in OOP style project problem
Posted by: jacksfrustration - Oct-21-2023, 08:38 PM - Forum: General Coding Help - Replies (3)

Ok so basically im trying to build a flight tracker app. And i have a problem with the gui py file. I have a button that generates variable names usin..... More

Print this item

  When does Python detect Errors?
Posted by: stamp1t - Oct-21-2023, 04:56 PM - Forum: General Coding Help - Replies (1)

Hello, I am currently confused about the different times when errors are detected in Python...

First, for my understanding:
Python initially trans..... More

Print this item

  yield usage as statement or expression
Posted by: akbarza - Oct-21-2023, 11:05 AM - Forum: General Coding Help - Replies (5)

hi
the below code is in site:https://realpyth[url=https://python-forum.io/thread-40962.html]..... More

Print this item

  Authentication server (console)
Posted by: biscoito - Oct-20-2023, 11:44 PM - Forum: Networking - No Replies

Hello people,

I'd like to hear some recommendations regarding authentication using a server (RADIUS,etc) and console. Is there any library or sites t..... More

Print this item

  Simple pygame input box with cursor and character count
Posted by: menator01 - Oct-20-2023, 07:19 PM - Forum: Code sharing - No Replies

[python]
# Do the imports
import pygame
from time import time

# Initiate pygame
pygame.init()

# Create the screen surface and window caption..... More

Print this item

  Need to return 2 values from 1 DF that equals another DF
Posted by: cubangt - Oct-20-2023, 02:54 PM - Forum: General Coding Help - Replies (5)

ok, so i have a script that pings all our registers in the company to check if they are online or offline.. this works great. that script works off a ..... More

Print this item

  pymodbus
Posted by: jreckart - Oct-20-2023, 08:19 AM - Forum: Data Science - Replies (3)

I'm using pymodbus to read modbus data from a controller, using serial over an rs485 to usb. I can read coils, registers,etc all the normal stuff.
My..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  SECURE AND RETRIEVE YOUR ... 2 hours ago jadenthom9 jadenthom9 News and Disc...
  How to add Permanent Sign... 4 hours ago vmars316 vmars316 Board
  veri kazıma 5 hours ago fehmikonkur fehmikonkur Web Scraping ...
  Can I develop a live vide... Yesterday, 06:20 mtrkhan Jmathew1 Web Scraping ...
  Post Body (for "Forum Usa... 07-20, 06:17 hihi hihi Board
  None collapsing Tuple at ... 07-20, 05:21 hihi hihi Code Review
  [Tkinter] Label & OptionM... 07-20, 02:21 slate slate GUI
  Code stoped working 07-19, 10:55 OldMan57 DeaD_EyE News and Disc...
  ASCII-Codec in Python3 [S... 07-19, 08:53 AlphaInc Gribouillis General Codin...
  How scan all ips from mai... 07-18, 19:09 ramin_malek MaahirThomas Networking
  gpiozero buttons stop wor... 07-18, 15:10 duckredbeard deanhystad General Codin...
Most views
  The best Prog... 572793
  Tutorial Requ... 485877
  Web Scraping ... 437253
  Newbie with P... 380276
  Thread remain... 351444
Most reputation
buran 581
snippsat 507
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+ 12073
buran 8177
snippsat 7353
deanhystad 6862
metulburr 5152
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Earnestinome Today
jadenthom9 Today
Fobertsmene Yesterday
netspeck Yesterday
Slackey Yesterday

User Panel Messages

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