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,329
» Latest member: mumik
» Forum threads: 38,807
» Forum posts: 175,946

Full Statistics

Online Users
There are currently 27 online users.
» 0 Member(s) | 21 Guest(s)
Bing, Google, Facebook

Latest Threads
Graphics error
Forum: General Coding Help
Last Post: snippsat
10 hours ago
» Replies: 1
» Views: 160
An impressive collection ...
Forum: Bar
Last Post: Larz60+
Yesterday, 06:35 AM
» Replies: 1
» Views: 82
Py script to APP on MAC
Forum: General Coding Help
Last Post: tester_V
Dec-05-2025, 08:12 PM
» Replies: 3
» Views: 162
Iterator and/or generator...
Forum: General Coding Help
Last Post: Gribouillis
Dec-05-2025, 10:43 AM
» Replies: 7
» Views: 228
Looking for new hosting s...
Forum: Bar
Last Post: Larz60+
Dec-04-2025, 11:20 AM
» Replies: 14
» Views: 10,765
Announcing CallFlow Trace...
Forum: Code sharing
Last Post: rajveer43
Dec-04-2025, 05:38 AM
» Replies: 0
» Views: 97
What pip version should I...
Forum: General Coding Help
Last Post: mamta25
Dec-03-2025, 05:01 AM
» Replies: 2
» Views: 218
Advent of Code 2025
Forum: News and Discussions
Last Post: buran
Dec-02-2025, 06:33 PM
» Replies: 0
» Views: 180
[gripe] The internet woul...
Forum: Bar
Last Post: Globe43
Dec-02-2025, 07:09 AM
» Replies: 2
» Views: 969
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
Dec-01-2025, 06:39 PM
» Replies: 13
» Views: 711

 
  Graphics error
Posted by: nathanael - Dec-05-2025, 09:32 PM - Forum: General Coding Help - Replies (1)

What I want to be able to do is click on the frame window so that points will appear on it and when I click in the rectangle that says 'Done' for the ..... More

Print this item

  An impressive collection of shell scripts
Posted by: Gribouillis - Dec-05-2025, 04:54 PM - Forum: Bar - Replies (1)

I discovered this impressive collection of shell scripts for image processing, using the i..... More

Print this item

  Py script to APP on MAC
Posted by: tester_V - Dec-04-2025, 11:19 PM - Forum: General Coding Help - Replies (3)

Greetings!
I have a python script and it is ready to be converted to an APP but I had a terrible time with the "PyInstaller", first it was working f..... More

Print this item

  Iterator and/or generator help
Posted by: mogplus8 - Dec-04-2025, 05:44 AM - Forum: General Coding Help - Replies (7)

Hi All,
First time poster so please excuse noob mistakes.
I am using Micropython to program a microcontroller (an ESP32 for this project) and one of..... More

Print this item

Thumbs Up Announcing CallFlow Tracer - Advanced Python Performance Analysis Library
Posted by: rajveer43 - Dec-04-2025, 05:37 AM - Forum: Code sharing - No Replies

Hi Python community!

I'm excited to share **CallFlow Tracer** - a comprehensive Python library for tracing, profiling, and visualizing function ca..... More

Print this item

  Advent of Code 2025
Posted by: buran - Dec-02-2025, 06:33 PM - Forum: News and Discussions - No Replies

Starting this year, there will be 12 days of puzzles each December.

https://adventofcode.com/

Print this item

  What pip version should I install on Cygwin for jupyter-python39?
Posted by: Virgo_Concepts - Dec-01-2025, 05:29 PM - Forum: General Coding Help - Replies (2)

The installer lists pythin3-pip, python312-pip, and python 36-pip through python 39-pip. Which is the best option?

Thanks so much

Joe

Print this item

Question Python compiler
Posted by: NeoQuant - Nov-29-2025, 08:01 PM - Forum: General Coding Help - Replies (1)

I’m searching for a web based Python compiler that’s reliable and feature-rich, perfect for rapid prototyping but also capable of advanced debugging a..... More

Print this item

  Standard template Data Engineering and Analytics - hosthub
Posted by: Hosthubac - Nov-29-2025, 05:51 PM - Forum: Code Review - No Replies

Data Engineering Template (ETL: S3 → EMR/PySpark → S3 or Redshift)
[python]
# Imports
import boto3
from pyspark.sql import SparkSession
from pysp..... More

Print this item

Lightbulb Trading Risk management script.
Posted by: NeoQuant - Nov-29-2025, 04:51 PM - Forum: Code sharing - Replies (5)

This program is a lightweight, pure-Python tool designed to help traders accurately measure, control, and optimize their risk on every position. Built..... More


Attached Files

.py   trading size.py (Size: 4.34 KB / Downloads: 0)
Print this item

  No new line from print in a browser
Posted by: Lou - Nov-28-2025, 04:17 AM - Forum: General Coding Help - Replies (13)

When called from a terminal, the following script prints 5 lines as expected.

[python]#!C:\Users\User\AppData\Local\Programs\Python\Python312\pytho..... More

Print this item

  Python is not working on Xcode
Posted by: lary_p - Nov-27-2025, 11:33 AM - Forum: General Coding Help - Replies (4)

   

Hey guys, I have been trying to run python on xcode, but it is showing the “Build Failed.” Please help me resolve this error.

Print this item

  Proposal for PEP
Posted by: matt - Nov-26-2025, 02:56 PM - Forum: News and Discussions - Replies (1)

Dear Community,

I do not know if this is the right forum to propose/discuss a PEP. To create this proposal I solely used AI (Since I prompted in ad..... More

Print this item

  My regex function is not good
Posted by: Moltar1997 - Nov-25-2025, 04:10 PM - Forum: General Coding Help - Replies (4)

I'm a novice at programming. One small-scale project I'm working on is an apt history log reader with regex designed to make the output easier. At som..... More

Print this item

  silent deployment Python 3.14
Posted by: Bummibaer - Nov-25-2025, 08:52 AM - Forum: News and Discussions - Replies (3)

I've learned, that 3.14 use a new install scheme.
Is there a best practise for silent deployment?
In
..... More

Print this item

  PyQt5 - Get a parameter from a modal window
Posted by: Ninja2112 - Nov-24-2025, 11:56 AM - Forum: GUI - Replies (5)

Hello...I'd like some help.
I've created a main window in PyQt5 and another modal window which I need to catch a parameter from a radiobutton.
Here..... More

Print this item

  data fetching for indian stock
Posted by: drakhsin - Nov-22-2025, 11:59 AM - Forum: Web Scraping & Web Development - Replies (6)

Hi,
Can you help me with a python code to get following data in excel sheet.
The input excel file has name of tickers of Indian stocks, file name st..... More


Attached Files

.xlsx   stocks.xlsx (Size: 8.73 KB / Downloads: 13)
.xlsx   stocks_output.xlsx (Size: 5.15 KB / Downloads: 11)
Print this item

  Brazil Python Help to automate expense and revenue invoice processing
Posted by: MileHigh303 - Nov-21-2025, 08:30 PM - Forum: Jobs - No Replies

Hi all,

Seeking assistance for an Ad hoc project from a Brazil accounting firm owner here.

Each month our team receive a number of invoices in..... More

Print this item

  How to Implement Real-Time Booking in a Salon App?
Posted by: ankitsharma32 - Nov-20-2025, 06:48 AM - Forum: Web Scraping & Web Development - No Replies

How can I implement real-time appointment scheduling across multiple stylists and locations while avoiding double-bookings?

Print this item

Question [SOLVED] [BeautifulSoup] A few questions
Posted by: Winfried - Nov-19-2025, 06:43 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

I have the following questions about using BS:

What's the difference between...
1. .decompose() and .extract()? And how to remove empty ..... More

Print this item

  link variable to exc blocks garbage collection
Posted by: Astrobert - Nov-18-2025, 08:37 PM - Forum: General Coding Help - Replies (1)

I found this strange behavior. Why is the error variable not garbage collected? If error is another object, this wouldn't happen.
[python]
import gc
i..... More

Print this item

Question [SOLVED] Access keys and values from nested dictionary?
Posted by: Winfried - Nov-16-2025, 03:47 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm not used to what appears to be a nested dictionary in a list, and can't find how to get the keys and values:

[python]for x in ifaddr...... More

Print this item

  Graph Interpolate Difficulties
Posted by: Tuurbo46 - Nov-15-2025, 11:18 AM - Forum: General Coding Help - Replies (3)

Hello,

So I am using the below original code (code 1) to display a graph (graph 1), but the output is a bit course, so I have chosen to use the int..... More


Attached Files

Thumbnail(s)
       
Print this item

  PermissionError: [Errno 13] Permission denied:
Posted by: Tuurbo46 - Nov-15-2025, 10:25 AM - Forum: GUI - Replies (2)

Hello,

I am trying to write basic data to a csv file and I keep getting a (PermissionError: [Errno 13] Permission denied: 'test_csv.csv') error. I..... More

Print this item

  conditional nested loops
Posted by: Skaperen - Nov-14-2025, 11:31 PM - Forum: News and Discussions - No Replies

i have 6 nested loops. i know that's crazy. even more crazy is that i don't need the first 3 of them if a certain condition is met. it would be nic..... More

Print this item

  How to make ball stay within frame
Posted by: nathanael - Nov-14-2025, 10:15 PM - Forum: General Coding Help - Replies (2)

I want to be able to bounce the ball on the screen but when I run the code the ball moves of frame. I have attached a file of the code down below. H..... More


Attached Files

Thumbnail(s)
   
Print this item

  PyQt6 QWidgets and system recognition of windows
Posted by: stevecoh1 - Nov-14-2025, 06:36 PM - Forum: GUI - Replies (2)

This concerns an application written in PyQt6, and in particular in relation to Ubuntu Linux (using Kubuntu KDE Plasma, but the same issues exist in G..... More

Print this item

  Please guide me to complete the attendance project
Posted by: pbkurd - Nov-13-2025, 06:58 PM - Forum: General Coding Help - Replies (3)

hello
Create an attendance program for employee check-in and check-out
In Python Web Django
I want the device to show these for the application
- ..... More

Print this item

  [solved] re.split issue
Posted by: paul18fr - Nov-13-2025, 12:42 PM - Forum: General Coding Help - Replies (10)

Hi,
It is a basic question but i'm stuck:

  • one basckslash is ignored and i do not understand why (see output)
  • the backslash ..... More

Print this item

  why is the image not showing
Posted by: sarbogast - Nov-12-2025, 04:59 PM - Forum: General Coding Help - Replies (2)

Many of my studetns were getting this error when they downloaded this project from PLTW trinket saying that the there is no file in the directory. How..... More


Attached Files

Thumbnail(s)
   
Print this item

  New to python and coding
Posted by: lary_p - Nov-11-2025, 09:25 AM - Forum: Homework - Replies (6)

Hello everyone, I'm new to python and coding, and I want to learn it for data science and web scraping. Please guide me how I can start my journey and..... More

Print this item

  Help with Serial.write in pyserial
Posted by: racingsubby - Nov-10-2025, 08:39 PM - Forum: General Coding Help - Replies (8)

Hello.
I'm new to python. I'm in a robotics class and I need to be able to control a 6-servo robotic arm. I'm using Python for the bulk of the work..... More

Print this item

  [split] print two different sequence number
Posted by: Reema - Nov-10-2025, 04:40 AM - Forum: General Coding Help - Replies (1)

from fpdf import FPDF

# إعداد PDF
pdf = FPDF('P', 'mm', 'A4')
pdf.set_auto_page_break(auto=True, margin=15)

def add_title(title):
pdf.set..... More

Print this item

Question Two arguments in input function
Posted by: Alfredd - Nov-08-2025, 09:48 AM - Forum: General Coding Help - Replies (4)

In output, I would like to receive this kind of message:
Give the quotation of Math : 15
In Math you have : 15.0 /20
and so on

Can You help me p..... More


Attached Files

Thumbnail(s)
   
Print this item

  Backward compatibility question
Posted by: yutaozhou - Nov-07-2025, 10:21 PM - Forum: News and Discussions - Replies (6)

Not complaining but actually asking and trying to understand this. Smile I understand why Google engineer moved those core models from `collectio..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graphics error 10 hours ago nathanael snippsat General Codin...
  An impressive collection ... Yesterday, 06:35 Gribouillis Larz60+ Bar
  Py script to APP on MAC 12-05, 20:12 tester_V tester_V General Codin...
  Iterator and/or generator... 12-05, 10:43 mogplus8 Gribouillis General Codin...
  Looking for new hosting s... 12-04, 11:20 Larz60+ Larz60+ Bar
  Announcing CallFlow Trace... 12-04, 05:38 rajveer43 rajveer43 Code sharing
  What pip version should I... 12-03, 05:01 Virgo_Concepts mamta25 General Codin...
  Advent of Code 2025 12-02, 18:33 buran buran News and Disc...
  [gripe] The internet woul... 12-02, 07:09 MvGulik Globe43 Bar
  No new line from print in... 12-01, 18:39 Lou noisefloor General Codin...
  My regex function is not ... 12-01, 18:04 Moltar1997 Mt1997 General Codin...
Most views
  The best Prog... 579727
  Tutorial Requ... 514474
  Web Scraping ... 442489
  Newbie with P... 386626
  New Users Int... 382679
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8197
snippsat 7395
deanhystad 6917
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
mumik Today
clevered Today
TyronEsoxy Today
sirkay Yesterday
ComfortablyNumb Yesterday

User Panel Messages

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