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,254
» Latest member: Gichardaxora
» Forum threads: 38,781
» Forum posts: 175,829

Full Statistics

Online Users
There are currently 34 online users.
» 2 Member(s) | 28 Guest(s)
Applebot, Bing, Google, deanhystad, Axel_Erfurt

Latest Threads
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Less than 1 minute ago
» Replies: 6
» Views: 72
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
6 hours ago
» Replies: 6
» Views: 331
New to python and coding
Forum: Homework
Last Post: lary_p
11 hours ago
» Replies: 5
» Views: 153
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 100
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 233
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 361
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 139
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,638
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 239
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 231

 
  Help with Lists
Posted by: Nevvieboy - Oct-13-2025, 08:35 AM - Forum: General Coding Help - Replies (8)

Hi,
My very first post so hope I get it right.
I have been learning Pythin for a week now and it seems to be going well.
I am on an exercise where ..... More

Print this item

  sharing ready to use code to Non-Tech Users
Posted by: kucingkembar - Oct-11-2025, 05:04 PM - Forum: General Coding Help - Replies (16)

Sorry for my bad English

i want to share my ready to use code to my friend that not a programmer.
I tried :
[python]while True:
try:
impo..... More

Print this item

  (Pi)ython 3.14.0 & Python 3.13.8
Posted by: DeaD_EyE - Oct-08-2025, 10:24 AM - Forum: News and Discussions - Replies (1)

Python 3.14.0 (final) is here!

Print this item

  Exploring Different Python Learning Platforms what Helped You the Most?
Posted by: girish_benvanshi - Oct-08-2025, 09:50 AM - Forum: News and Discussions - Replies (2)

Hey everyone,

I’ve been learning Python for a while now, mostly through self-study and online courses. Recently, I’ve been comparing a few platform..... More

Print this item

Thumbs Up Use generator with sring replacement... [solved]
Posted by: SpongeB0B - Oct-07-2025, 05:20 PM - Forum: General Coding Help - Replies (9)

Hi

I would like to have a simple generator like

[python]

def alternate():

while True:
yield 'yes'
yield 'no'

#gen..... More

Print this item

  Unsupported datetime format code
Posted by: clamadv - Oct-07-2025, 01:04 PM - Forum: General Coding Help - Replies (3)

Hi,

I am using python 3.12 and I would like to parse string as '2025:092:43200' into a datetime object.
2025 is the year (%Y), 092 is the day of t..... More

Print this item

Question [SOLVED] Simple dialog without app?
Posted by: Winfried - Oct-07-2025, 08:58 AM - Forum: GUI - Replies (5)

Hello,

Out of curiosity, is it possible to show a simple messagebox without an app instance?

[python]app = wx.App()
wx.MessageBox("text", "titl..... More

Print this item

  .xlsm file can't be opened after writing data to one worksheet
Posted by: mhyatt - Oct-05-2025, 08:53 PM - Forum: General Coding Help - Replies (4)

I am new to Python. I have some coding experirence, though it is quite old.

I am working on a existing script that places a data frame (a row of d..... More

Print this item

  Weird failure in Selenium
Posted by: glestwid - Oct-02-2025, 09:33 PM - Forum: General Coding Help - Replies (1)

Hi ,

I'm trying to run this script

[python]#!/usr/bin/env python3
from selenium import webdriver
from selenium.webdriver.common.by import By
..... More

Print this item

  print does not open console in Linux Mint [Solved]
Posted by: Tycho_2025 - Oct-02-2025, 04:30 PM - Forum: General Coding Help - Replies (5)

Dear forum members,

I use Linux Mint Cinnamon 22.2 with Python 3.12.3
I have this simple script myscripy.py:

[python]
#!/usr/bin/python
print..... More

Print this item

  create ocr to detect license plate
Posted by: bimosora - Oct-02-2025, 07:20 AM - Forum: General Coding Help - Replies (5)

I tried to make a camera to detect license plates, this is what always happens
[output]2025-10-02 14:29:38,964 - __main__ - INFO - [Camera 16] Runnin..... More


Attached Files

.py   app.py (Size: 76.98 KB / Downloads: 33)
Print this item

Question Parse Markdown / get the plain text
Posted by: SpongeB0B - Oct-01-2025, 08:37 AM - Forum: General Coding Help - Replies (8)

Hi,

I would like to use markdown in a little Python program but first I don't understand the difference between those three packages

  1. [..... More

Print this item

  Integer Factorization Tool
Posted by: fosuwxb - Sep-29-2025, 04:45 PM - Forum: Code sharing - Replies (2)

We've developed an integer factorization tool that utilizes a "folding" approach. It features three modes:

1.Fold P:
.py   p_folding_factorization.py (Size: 18.77 KB / Downloads: 2)
2.Fol..... More


Attached Files

.py   pc_folding_factorization.py.py (Size: 21.98 KB / Downloads: 0)
.py   pc+p_folding_factorization.py (Size: 20.16 KB / Downloads: 1)
Print this item

  Comparing 2 100GB Drives/directories to see if they identical
Posted by: tester_V - Sep-28-2025, 03:44 AM - Forum: General Coding Help - Replies (8)

Greetings to those who work on Saturdays!
I’m tinkering with a small Python project and would love to hear your ideas or suggestions.
I'm going to ..... More

Print this item

  Unable to resolve FileNotFoundError
Posted by: llarkin6 - Sep-26-2025, 03:53 PM - Forum: General Coding Help - Replies (6)

Hello All,

I am very much so a novice to python and programming in general. I am attempting to use this data processing program that someone else w..... More

Print this item

  My goal to be hired working with Python
Posted by: GnomeSweetGnome - Sep-26-2025, 12:32 AM - Forum: News and Discussions - Replies (3)

Hello, I am a new programmer and am fascinated by this language of programming! I started with C and soon heard about python. Took one look and never ..... More

Print this item

  extracting data from a user-completed fillable pdf
Posted by: Perry - Sep-25-2025, 12:45 AM - Forum: General Coding Help - Replies (2)

Hello!

I'm hoping that someone here would perform a task for me that is over my head. Of course, I will pay for your service. Here's what I need:..... More

Print this item

  how to export a dictionary from a class
Posted by: RonR - Sep-24-2025, 09:21 PM - Forum: GUI - Replies (4)

I'm trying to convert an app from a top down program to classes and an having a hard time finding out how to export a dictionary to get something besi..... More

Print this item

  IBKR Purchasing code issue
Posted by: compuman145 - Sep-23-2025, 09:08 AM - Forum: General Coding Help - No Replies

Good morning all,


I'm in the middle of getting a bit of code together to make multiple trades using the bag method, this is what I've come up wit..... More

Print this item

  Is the interpreter that comes with Anaconda different?
Posted by: helendamdam - Sep-23-2025, 02:36 AM - Forum: General Coding Help - Replies (1)

So, I have anaconda installed on my OSX machine but have never used it. My experience with python has
been exclusively via PyCharm using 2.7.10 -- tod..... More

Print this item

  A coding beginner needs help
Posted by: Littlefish - Sep-22-2025, 02:34 AM - Forum: General Coding Help - Replies (2)

Could someone please help me understand what the problem is with the following code? Also, how to fix the problems please?

Thank you very very very..... More

Print this item

  Using a For Loop to subtract numbers from an input function.
Posted by: Anunderling - Sep-21-2025, 03:38 PM - Forum: General Coding Help - Replies (9)

I am new to programming, and I'm beginning with Python with an online course; progress, so far, has been well, but there is this exercise that I have ..... More

Print this item

  what does % stand for in an expression ?
Posted by: arbiel - Sep-19-2025, 01:08 PM - Forum: General Coding Help - Replies (4)

Hi
I found the following example in the python doc :

[python]from typing import NamedTuple
import re

class Token(NamedTuple):
type: str
..... More

Print this item

  C++ program embedding Python crashes when calling PyUnicode_AsUTF8
Posted by: Alexandros - Sep-18-2025, 01:27 PM - Forum: General Coding Help - Replies (4)

I'm embedding Python into an openFrameworks (https://openframeworks.cc/, a C++ toolkit for creative coding) program through the C/C++ embeddings of th..... More

Print this item

  datetime in SQL query.
Posted by: Dibbley - Sep-17-2025, 09:33 AM - Forum: General Coding Help - Replies (3)

Hi

I'm using the code below to import from an ODBC database. At the moment I'm hard-coding the dates, for example, I can't work out the syntax to ..... More

Print this item

  variable changing types for error?
Posted by: Azdaghost - Sep-15-2025, 05:06 PM - Forum: General Coding Help - Replies (1)

I was trying to debug this error in my code and I noticed something weird:
if I did the function as if the parameter was a string, it would tell me i..... More

Print this item

  looking for help
Posted by: Azdaghost - Sep-15-2025, 05:03 PM - Forum: Bar - No Replies

hello I am trying to make a game
I'm wondering if anyone want to help
thanks :)

Print this item

  Too much space between grid columns
Posted by: RonR - Sep-14-2025, 12:57 AM - Forum: GUI - Replies (4)

I just started with Tkinter and have done a weather screen using the Openweather API for my data. The issue I have is there is too much space between..... More


Attached Files

.pdf   WrptShot.pdf (Size: 67.89 KB / Downloads: 106)
.py   Wrpt_tk.py (Size: 12.23 KB / Downloads: 67)
Print this item

  data input while debugging causes unwanted code completion
Posted by: fred1232 - Sep-13-2025, 08:22 PM - Forum: General Coding Help - Replies (2)

I am a relatively inexperienced coder running python 3.13 using PyCharm 2025.1.3.1 (Community Edition). I am debugging the following code:
[python]de..... More

Print this item

Question New to the field
Posted by: Polybunny - Sep-13-2025, 01:31 AM - Forum: News and Discussions - Replies (1)

Hello all! I'm Polybunny. A bit about myself first, I've started and stopped learning how to code several different times over the last decade or so, ..... More

Print this item

Thumbs Up Select Python comment (#) [solved]
Posted by: SpongeB0B - Sep-12-2025, 11:16 AM - Forum: General Coding Help - Replies (7)

Hi,

I'm trying to select the Python comment (one line)

#comment example
I'm trying with the so call "Regular Expression" RegEx..... More

Print this item

  New to Python and Pygame
Posted by: JMcM - Sep-10-2025, 04:58 PM - Forum: Game Development - Replies (7)

Hello all. I'm new to Python and Pygame. Did some programming as a kid on Atari 8-bist BASIC, and in college on Pascal and C++, so, it's been a while...... More

Print this item

Question I'm trying to make a piece of code
Posted by: Alislugacool - Sep-10-2025, 02:27 PM - Forum: General Coding Help - Replies (5)

I'm a new coder trying to make an app which helps my friends we would like the app to count every time we do an attraction at a theme park by pressing..... More

Print this item

  Python and excel vba coding
Posted by: odiez - Sep-09-2025, 02:10 PM - Forum: General Coding Help - Replies (2)

I just want to find out, if this is possible to do, as I have tried and getting errors.

I have a excel file xlsm and and have python, html, js and ..... More


Attached Files

.html   register.html (Size: 34.02 KB / Downloads: 72)
.py   main.py (Size: 34.75 KB / Downloads: 61)
Print this item

  QGraphicsScene / QGraphicsView: Origin and Positive Values
Posted by: wabbity - Sep-08-2025, 04:31 AM - Forum: GUI - Replies (1)

Hi,

Is there a built-in way of setting 0,0 to the centre of the page?

Also is there a way to make positive Y go up instead of down?


* I'm g..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] re.split issue Less than 1 minute ago paul18fr deanhystad General Codin...
  Backward compatibility qu... 6 hours ago yutaozhou noisefloor News and Disc...
  New to python and coding 11 hours ago lary_p lary_p Homework
  why is the image not show... Yesterday, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
Most views
  The best Prog... 578923
  Tutorial Requ... 510151
  Web Scraping ... 441940
  Newbie with P... 385959
  New Users Int... 376763
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Gichardaxora Today
cc123 Today
Jessicaadams Today
ftk456 Yesterday
sarbogast Yesterday

User Panel Messages

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