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,118
» Latest member: Tuurbo46
» Forum threads: 38,755
» Forum posts: 175,696

Full Statistics

Online Users
There are currently 67 online users.
» 1 Member(s) | 58 Guest(s)
Google, Bing, Apple, Twitter, Tuurbo46

Latest Threads
Exploring Different Pytho...
Forum: News and Discussions
Last Post: CallumFirth
2 hours ago
» Replies: 2
» Views: 265
Green Screen Fun
Forum: General Coding Help
Last Post: Pedroski55
6 hours ago
» Replies: 1
» Views: 65
re does not seem to disti...
Forum: General Coding Help
Last Post: Pedroski55
9 hours ago
» Replies: 4
» Views: 90
[DOS/cmd] How to handle a...
Forum: General Coding Help
Last Post: buran
Yesterday, 01:20 PM
» Replies: 1
» Views: 40
pip not working
Forum: General Coding Help
Last Post: JesseFeller
Oct-22-2025, 02:37 PM
» Replies: 5
» Views: 145
Need to change connection...
Forum: General Coding Help
Last Post: Pedroski55
Oct-20-2025, 11:35 PM
» Replies: 2
» Views: 159
Help with Lists
Forum: General Coding Help
Last Post: Blablabla
Oct-20-2025, 07:59 AM
» Replies: 8
» Views: 442
[solved] regex issue
Forum: General Coding Help
Last Post: Pedroski55
Oct-19-2025, 11:21 PM
» Replies: 3
» Views: 161
Struggling to Scrape Stru...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Oct-19-2025, 07:23 AM
» Replies: 3
» Views: 3,080
tkinter weird image displ...
Forum: GUI
Last Post: deanhystad
Oct-18-2025, 11:15 AM
» Replies: 2
» Views: 247

 
  Green Screen Fun
Posted by: NMB4321 - Yesterday, 01:53 PM - Forum: General Coding Help - Replies (1)

Hi.

I work in a school and I want to set up a bit of fun for students. We have a large screen hooked up to a PC. I want to pop a webcam on the TV..... More

Print this item

Question [DOS/cmd] How to handle accents?
Posted by: Winfried - Yesterday, 01:09 PM - Forum: General Coding Help - Replies (1)

Hello,

On Windows, I need to write a Python script to build a command and save it into a batch file (ie. cmd) that calls a command-line.

Problem is,..... More

Print this item

  re does not seem to distinguish \d and \w properly
Posted by: Pedroski55 - Yesterday, 06:42 AM - Forum: General Coding Help - Replies (4)

Why doesn't re distinguish between \d and \w here?

[python]import re

s1 = '123EFG 123EHI 123EJK'

k = re.compile(r'3E')
k.search(s1) # return..... More

Print this item

  pip not working
Posted by: JesseFeller - Oct-21-2025, 04:39 PM - Forum: General Coding Help - Replies (5)

Whenever I try to install a package using pip in VS code I get the following error. Any suggestions? Thanks in advance.

[error]Traceback (most rec..... More

Print this item

  Need to change connection and queries from SQLite to MySQL
Posted by: Bxapocalypse1 - Oct-20-2025, 03:08 PM - Forum: General Coding Help - Replies (2)

I am just starting to learn python and I am trying to figure this one app out. I am trying to change the code so my app connects to MySQL instead of S..... More


Attached Files

.py   App_Stable.py (Size: 66.61 KB / Downloads: 6)
Print this item

  [solved] regex issue
Posted by: paul18fr - Oct-19-2025, 04:52 PM - Forum: General Coding Help - Replies (3)

Hi

I'm spending too much time in trying to fing how to get the number between 'BEGIN' and 'END' using a pure regex: what is the corre..... More

Print this item

  why I can't pip install faiss-cpu using python 3.14 on my windows 10 system?
Posted by: Cauchy - Oct-17-2025, 02:32 PM - Forum: General Coding Help - Replies (1)

the error info are as follows:
Building wheels for collected packages: jiter
Building wheel for jiter (pyproject.toml) ... error
error: subproc..... More

Print this item

  Variable not defined, but it is defined... i think
Posted by: ET_ - Oct-14-2025, 08:12 PM - Forum: General Coding Help - Replies (1)

Hello,

im totally new to programming and i ran into a problem i can not solve...

i wanted to start my own program, so i would actually learn som..... More


Attached Files

Thumbnail(s)
   
Print this item

  tkinter weird image displaying behaviour
Posted by: pyDream - Oct-14-2025, 05:49 PM - Forum: GUI - Replies (2)

So I've been trying to learn to use the tkinter with python to display images, and everything worked fine, when I displayed image like this:

[pytho..... More

Print this item

Question [subprocess] Simple way to handle error in Popen()?
Posted by: Winfried - Oct-13-2025, 02:17 PM - Forum: General Coding Help - Replies (1)

Hello,

What is a simple and reliable way to handle an error when calling and monitoring a CLI application through subprocess.Popen()?

Is this good e..... More

Print this item

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Exploring Different Pytho... 2 hours ago girish_benvanshi CallumFirth News and Disc...
  Green Screen Fun 6 hours ago NMB4321 Pedroski55 General Codin...
  re does not seem to disti... 9 hours ago Pedroski55 Pedroski55 General Codin...
  [DOS/cmd] How to handle a... Yesterday, 13:20 Winfried buran General Codin...
  pip not working 10-22, 14:37 JesseFeller JesseFeller General Codin...
  Need to change connection... 10-20, 23:35 Bxapocalypse1 Pedroski55 General Codin...
  Help with Lists 10-20, 07:59 Nevvieboy Blablabla General Codin...
  [solved] regex issue 10-19, 23:21 paul18fr Pedroski55 General Codin...
  Struggling to Scrape Stru... 10-19, 07:23 Fliminio noisefloor Web Scraping ...
  tkinter weird image displ... 10-18, 11:15 pyDream deanhystad GUI
  Making a colour field 10-18, 10:58 Leo_Red OtiliaGen GUI
Most views
  The best Prog... 577871
  Tutorial Requ... 505229
  Web Scraping ... 441323
  Newbie with P... 385299
  New Users Int... 371875
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12096
buran 8182
snippsat 7382
deanhystad 6903
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Tuurbo46 Today
CallumFirth Today
Stephenchers Yesterday
NMB4321 Yesterday
tmmmawi Yesterday

User Panel Messages

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