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,436
» Latest member: ValeVipery
» Forum threads: 38,832
» Forum posts: 176,095

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Google, Applebot

Latest Threads
Unexpected behavior
Forum: General Coding Help
Last Post: Gribouillis
1 hour ago
» Replies: 5
» Views: 81
unicode and utf-8
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-14-2026, 01:40 PM
» Replies: 4
» Views: 488
If I open a file write or...
Forum: General Coding Help
Last Post: Pedroski55
Jan-14-2026, 07:49 AM
» Replies: 11
» Views: 800
scipy.optimize.curve_fit ...
Forum: Data Science
Last Post: willflanagan
Jan-14-2026, 02:26 AM
» Replies: 1
» Views: 625
We open-sourced kubesdk —...
Forum: Code sharing
Last Post: JamesGreenwald
Jan-13-2026, 12:46 PM
» Replies: 1
» Views: 615
we open-sources faster py...
Forum: Code sharing
Last Post: tomtyiu
Jan-13-2026, 12:31 AM
» Replies: 0
» Views: 76
Exponential Number Conver...
Forum: General Coding Help
Last Post: Jessicaadams
Jan-12-2026, 02:41 PM
» Replies: 5
» Views: 604
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Jan-11-2026, 05:21 AM
» Replies: 3
» Views: 844
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Jan-11-2026, 02:57 AM
» Replies: 8
» Views: 662
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 968

 
  Unexpected behavior
Posted by: Hcyrano - 6 hours ago - Forum: General Coding Help - Replies (5)

hi,

my function :

[python]def analyze_deviations(file_path):
deviations = []

with open(file_path, 'r') as f:
lines = [l..... More

Print this item

  unicode and utf-8
Posted by: sorynturda - Jan-13-2026, 04:44 PM - Forum: General Coding Help - Replies (4)

Hey guys!
I don't have much experience with Python and I need some clarifications.

What I want to do?
I want to keep the some data in Unicode format...... More

Print this item

  we open-sources faster python
Posted by: tomtyiu - Jan-13-2026, 12:31 AM - Forum: Code sharing - No Replies

This is the official GitHub repository for FastPython. FasterPython is an open-source project dedicated to improving Python’s performance through prac..... More

Print this item

  If I open a file write or append, is the file loaded into RAM?
Posted by: Pedroski55 - Jan-11-2026, 12:40 AM - Forum: General Coding Help - Replies (11)

Recently there was a thread about opening enormous files, > 300GB and processing them line by line. People often want to do this.

My question is: w..... More

Print this item

  Exponential Number Conversion
Posted by: Tuurbo46 - Jan-08-2026, 11:12 AM - Forum: General Coding Help - Replies (5)

Hello,

I am trying to pass 8.4e9 to a function to send to an instrument. However when I print this out it comes out in the wrong format (8.4000000..... More

Print this item

  python re.finditer returns a null string when expecting a None result
Posted by: arbiel - Jan-07-2026, 05:38 PM - Forum: General Coding Help - Replies (8)

Hi

I'm presently writing a python script to create html pages from entries extracted from a greek to french dictionary. Those entries contain short..... More

Print this item

  Possible bug found, please advice
Posted by: Hassher - Jan-05-2026, 10:28 AM - Forum: General Coding Help - Replies (14)

Last days I have ran into a strange issue with my Python script stopping at random.

I made a script that basically sanitized an extremely large tex..... More

Print this item

  Code failing to ask input.
Posted by: Phoenix_Narukami - Jan-04-2026, 07:19 PM - Forum: Homework - Replies (4)

Apologies if my problem seems simple, but my code is failing to ask the user's input. It only prints

[output]** Process exited - Return Code: 0 **..... More

Print this item

  Sorry Help
Posted by: BioNanoTech - Jan-01-2026, 12:21 AM - Forum: General Coding Help - Replies (2)

Thanks for looking in advanced.
Problem: Windows blocks Python execution with “Access is denied” even though Python is installed and pip works

I a..... More

Print this item

  Check if running from shell or GUI
Posted by: rjdegraff42 - Dec-31-2025, 06:51 PM - Forum: General Coding Help - Replies (2)

I'm running Python 3.13.3 and wxPython 4.2.3. Can anyone tell me if there is a reliable way to determine if my app was started from the command line? ..... More

Print this item

  Opencv findContours Q
Posted by: jogl - Dec-29-2025, 10:22 PM - Forum: General Coding Help - Replies (1)

I'm grabbing frames from a web cam stream and locating objects (sweet potatoes) and passing the location and orientation info on to a pick and place. ..... More

Print this item

  Willing to pay for help with some workflows
Posted by: braillescribe - Dec-28-2025, 07:28 PM - Forum: General Coding Help - Replies (4)

I have a workflow that extracts data from folders and automatically populates a spreadsheet. The process currently relies on matching names across fil..... More

Print this item

  How to Integrate External Content into a Python Web App + Related Resource
Posted by: finallen321 - Dec-27-2025, 04:17 PM - Forum: General Coding Help - Replies (1)

Hi everyone!

I’m building a Python-based web application and need some guidance on the best ways to integrate external content or links securely an..... More

Print this item

  Calling python from another program
Posted by: eedjsa - Dec-26-2025, 01:14 PM - Forum: General Coding Help - Replies (9)

Hi,

1. I have a simple python script named script.py:

[python]
expr = input() # read an expression from stdin
eval(expr) ..... More

Print this item

  [split] How to ask Smart Questions (thread title expansion)
Posted by: yoanselcp - Dec-25-2025, 03:28 AM - Forum: General Coding Help - Replies (2)

[python]class Puerta:
def _init_(self):
self.abierta = False # Estado inicial: cerrada
def abrir(self):
if not self.abierta:..... More

Print this item

  Need Help with Pandas Conditional Data Filtering
Posted by: naproxy_1 - Dec-24-2025, 05:23 AM - Forum: Bar - Replies (1)

Need Help with Pandas Conditional Data Filtering


Hi everyone! I’m working on a Python data processing task using Pandas and hit a snag with condi..... More

Print this item

  Switching from batch processing to gui, and back
Posted by: arbiel - Dec-23-2025, 06:19 PM - Forum: GUI - No Replies

Hi to all of you, and Merry Chirstmas

Please, cancel my post.

Arbiel

Print this item

  requests.post not sending post values
Posted by: JarredAwesome - Dec-23-2025, 01:54 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello everyone,

As the title says, none of the post values are being sent

Here is the Python script:


[python]
params = {
'cod..... More

Print this item

Star We open-sourced kubesdk — a fully typed, async-first Python client for Kubernetes.
Posted by: beslanpuzl - Dec-21-2025, 11:52 AM - Forum: Code sharing - Replies (1)

Over the last months we’ve been packaging our internal Python utilities for Kubernetes into kubesdk, a modern k8s client and model generator. We open-..... More

Print this item

  a function to watch files
Posted by: Skaperen - Dec-21-2025, 02:24 AM - Forum: News and Discussions - Replies (3)

i am writing a function to watch files. the first version does not run concurrently. it will be to try out issues. later, a version that will run i..... More

Print this item

  I'm assuming you're asking about accessing nested dictionary keys and values in Pytho
Posted by: DavidSah - Dec-18-2025, 01:54 AM - Forum: General Coding Help - No Replies

I'm assuming you're asking about accessing nested dictionary keys and values in Python, right?

Print this item

  Spaces in string
Posted by: Mallard - Dec-17-2025, 04:17 PM - Forum: General Coding Help - Replies (9)

I am following Loop tutorials and in the exercises to try. Question 11 is to create a box of stars asking the user how high and wide they want the box..... More

Print this item

  Division
Posted by: Mallard - Dec-15-2025, 04:21 PM - Forum: General Coding Help - Replies (9)

Hi,
I have recently started to look at Python. I found a tutorial pdf document written by Brian Heinold called A Practical Introduction to
Python P..... More

Print this item

  Can't get keyboard.library to work
Posted by: jogl - Dec-14-2025, 12:40 AM - Forum: General Coding Help - Replies (9)

This example:


[python]import keyboard # using module keyboard
import time
while True: # making a loop
try: # used try so that if user p..... More

Print this item

  division error
Posted by: nathanael - Dec-10-2025, 09:12 PM - Forum: General Coding Help - Replies (2)

Im trying to make a program that will compute a regression line and then display it. First I click on the window to get the points and then when I cl..... More

Print this item

  "with open(os.path.join(args.input_dir, 'charmap.pickle'), 'rb') as f: IndentationErr
Posted by: uek67 - Dec-09-2025, 02:01 PM - Forum: General Coding Help - Replies (13)

Dear Python experts,
I beg your pardon I have to ask for your help. For days I am tryinf a Software callws PassGAN. [b]https://github.com/brannondors..... More

Print this item

  Optimization Software Engineer
Posted by: bicop - Dec-09-2025, 11:51 AM - Forum: Jobs - No Replies

Hi,

We are currently building a solver in Python as part of (smart) industry 4.0 solution.

Are you a optimization engineer and qualify on:

S..... More

Print this item

  scipy.optimize.curve_fit uncertainty calculation
Posted by: willflanagan - Dec-08-2025, 10:02 PM - Forum: Data Science - Replies (1)

Our team is using scipy.optimize.curve_fit to return least-squares fitting and I am unable to return the "textbook uncertainties" that I expect. In fa..... More


Attached Files

.py   Test_Least_squares.py (Size: 1.37 KB / Downloads: 1)
.xlsx   LinearLeastSquaresExample.xlsx (Size: 205.19 KB / Downloads: 1)
Print this item

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

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 (9)

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unexpected behavior 1 hour ago Hcyrano Gribouillis General Codin...
  unicode and utf-8 01-14, 13:40 sorynturda DeaD_EyE General Codin...
  If I open a file write or... 01-14, 07:49 Pedroski55 Pedroski55 General Codin...
  scipy.optimize.curve_fit ... 01-14, 02:26 willflanagan willflanagan Data Science
  We open-sourced kubesdk —... 01-13, 12:46 beslanpuzl JamesGreenwald Code sharing
  we open-sources faster py... 01-13, 00:31 tomtyiu tomtyiu Code sharing
  Exponential Number Conver... 01-12, 14:41 Tuurbo46 Jessicaadams General Codin...
  a function to watch files 01-11, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... 01-11, 02:57 arbiel Pedroski55 General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
Most views
  The best Prog... 580902
  Tutorial Requ... 523392
  Web Scraping ... 442990
  New Users Int... 388947
  Newbie with P... 387227
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 7399
deanhystad 6922
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ValeVipery Today
Hcyrano Today
arahelmaarleyo3361 Yesterday
carito Yesterday
aalextexxdoz2875 Yesterday

User Panel Messages

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