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,650
» Latest member: mirabelmason132
» Forum threads: 38,642
» Forum posts: 175,097

Full Statistics

Online Users
There are currently 471 online users.
» 1 Member(s) | 466 Guest(s)
Bing, Yandex, Baidu, Google, perfringo

Latest Threads
textbox compare command n...
Forum: GUI
Last Post: deanhystad
30 minutes ago
» Replies: 1
» Views: 125
Python Install Mager Help
Forum: News and Discussions
Last Post: bowens1983
3 hours ago
» Replies: 2
» Views: 221
How to ask Smart Question...
Forum: Board
Last Post: Thatedge
9 hours ago
» Replies: 3
» Views: 5,631
Exercise on reading a chu...
Forum: Homework
Last Post: polytrack
10 hours ago
» Replies: 2
» Views: 1,018
New Users Introduce Yours...
Forum: Bar
Last Post: dmac6809
Yesterday, 02:48 PM
» Replies: 451
» Views: 343,817
How to retain Annotation ...
Forum: Code Review
Last Post: holeioonline
Yesterday, 08:43 AM
» Replies: 2
» Views: 908
Trading Bot written in Py...
Forum: News and Discussions
Last Post: LoriBrown
Yesterday, 07:08 AM
» Replies: 4
» Views: 95,195
replace or remove text fr...
Forum: General Coding Help
Last Post: Curbie
Jun-29-2025, 06:53 PM
» Replies: 13
» Views: 615
locating a pushbutton py ...
Forum: GUI
Last Post: deanhystad
Jun-29-2025, 06:47 PM
» Replies: 2
» Views: 154
Difference and meaning in...
Forum: General Coding Help
Last Post: Gribouillis
Jun-29-2025, 03:41 PM
» Replies: 4
» Views: 207

 
  textbox compare command not working for me
Posted by: dmac6809 - Yesterday, 04:19 PM - Forum: GUI - Replies (1)

for index = "10.5"

why is textbox.compare(index,"==","10.end") TRUE for all values beyond 10.4

I would like to test (textbox.compare) where the ..... More

Print this item

  Difference and meaning in this scrips
Posted by: Udbytossen - Jun-29-2025, 10:49 AM - Forum: General Coding Help - Replies (4)

Hi guys.
Just started out with python, programming a small ESP343, where I would like to create a python script for running.
But I'm no shark in p..... More

Print this item

  While loop is terminating too early
Posted by: jumpsworthnow - Jun-28-2025, 08:38 PM - Forum: Homework - Replies (1)

Hello,

I am having trouble returning the correct values for my while loop.

The loop is supposed take in a value n and loop through "num times," ..... More

Print this item

  locating a pushbutton py its name
Posted by: arbiel - Jun-28-2025, 06:21 PM - Forum: GUI - Replies (2)

Hi

I wish to retrieve a pushbutton by its name. I suppose I have to use the function

QfindChild(parent,name)

in a code like the following :
..... More

Print this item

  replace or remove text from many text files
Posted by: Curbie - Jun-28-2025, 05:10 AM - Forum: General Coding Help - Replies (13)

I'm looking to remove quotes " (artifacts from a 90s ASCII file transfer program) from many 1000s of text files (source code), this seemed like someth..... More

Print this item

  Python Install Mager Help
Posted by: bowens1983 - Jun-23-2025, 05:09 PM - Forum: News and Discussions - Replies (2)

Hello,

When using the Python installer manager, how can you choose the advanced options that are in these screens, like adding to the path or preco..... More

Print this item

Information [SOLVED] Let user search read-only text control?
Posted by: Winfried - Jun-22-2025, 02:28 PM - Forum: GUI - Replies (3)

Hello,

To let users search text, I currently simply 1) launch Windows' Notepad and 2) paste text, and the user uses its embedded Find dialog.

Do..... More

Print this item

  need help with tracking a tennis ball in a video
Posted by: gqdeep01 - Jun-22-2025, 02:14 AM - Forum: General Coding Help - No Replies

I have this python code, but it seems to be tracking something off to the side of the video. the code is supposed to draw a red circle around the ball..... More


Attached Files

.py   balltracking5.py (Size: 2.83 KB / Downloads: 16)
Print this item

  Using EventSource in Python
Posted by: rbadis - Jun-21-2025, 11:42 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi Guys,

I'm a newbie and would like some help is converting this JavaScript code to Python, the code uses EventSource to process an HTTP request, ..... More

Print this item

  A penny doubled every day for 30 days programming help
Posted by: esoyboy - Jun-20-2025, 08:37 PM - Forum: Homework - Replies (5)

Hello! I am semi-new to Python and I have an assignment to develop a code using loops to determine if you'll have more money via pennies doubled every..... More

Print this item

  Problème d'exécutable
Posted by: Zauf - Jun-20-2025, 01:19 PM - Forum: General Coding Help - Replies (1)

My script : https://github.com/Zauf39/ARGOS


I want do .exe this script for use on another computer without environnement Python
. I tried many a..... More

Print this item

  Dynamic Module Import Error
Posted by: DaddyMAN - Jun-19-2025, 03:40 AM - Forum: General Coding Help - Replies (3)

Hello all, I'll be sharing this to the python sub as well in the hopes of garnering more traction. I'm not an incredibly experienced programmer, espec..... More

Print this item

  [split] Simple webbot for testing
Posted by: AB073 - Jun-18-2025, 01:17 PM - Forum: Code Review - Replies (3)

Hello everyone im working on a project in python im a beginner in python and i will share this code with everyone if you have tips or trick let me kno..... More

Print this item

  What Are the Most Overlooked Python Libraries That Can Supercharge Your Workflow?
Posted by: shreyapatel - Jun-18-2025, 08:28 AM - Forum: News and Discussions - Replies (2)

I've been working with Python across a range of projects—from automation and data parsing to API integrations and backend systems. Along the way, I've..... More

Print this item

  I have a question
Posted by: Clictithe - Jun-18-2025, 04:16 AM - Forum: General Coding Help - Replies (2)

Can someone recommend Python libraries that I can use to create custom charts similar to?

Print this item

  How to produce a CPU load for several seconds, and measure it?
Posted by: Calab - Jun-17-2025, 02:01 PM - Forum: General Coding Help - Replies (2)

I am trying to create a small program that will put a heavy load on the CPU, and display the load over time.

The code below should start 10 process..... More

Print this item

  Setting AST node lineno correctly
Posted by: voidtrance - Jun-16-2025, 08:54 PM - Forum: General Coding Help - Replies (5)

In my application, I am using inspect and ast to dynamically modify function code. What is happening is that a call to assertEQ(a, b) is being r..... More

Print this item

  Convert any Python expression to a string
Posted by: voidtrance - Jun-16-2025, 02:06 PM - Forum: General Coding Help - Replies (2)

I'd like to be able to convert any Python expressions to a string. Something like this:
[python]
def show(a):
print(stringify(a))

>>> show(5..... More

Print this item

  Venv - Python Virtual Environment on Raspberry Pi
Posted by: DanneA - Jun-16-2025, 01:25 PM - Forum: General Coding Help - Replies (1)

I try to follow a book and also Pythons document page to get a venv to work.
The install works but when I want to get a library through pip and I thi..... More

Print this item

  Webscraping: Attendance Local Community Council
Posted by: ThatsMe - Jun-16-2025, 09:28 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi everyone,

I'm trying to make some attendance statistics for my local community council for the last years. It looks like this online: https://p..... More

Print this item

  Predicitve Maintenance Project mit Arduino
Posted by: dannyg - Jun-14-2025, 01:51 PM - Forum: General Coding Help - Replies (2)

Hi everyone,
I’m planning a small project to simulate predictive maintenance using Arduino and Python.

The idea is: I’m working with a small motor..... More

Print this item

  How do select this table for webscraping?
Posted by: MarkMan - Jun-13-2025, 02:51 PM - Forum: Web Scraping & Web Development - Replies (11)

Hello to this great forum:
I am trying to learn how to scrape data from websites with python.
From this website:
..... More

Print this item

  I am a newbie I like to use the command line
Posted by: Mikel2025 - Jun-13-2025, 12:32 PM - Forum: General Coding Help - Replies (1)

Hello community

I am new to python.
I have a very simple question:
I am a professional and testing python on a Cooperate Laptop which is clearly ..... More

Print this item

  can't use pyrepl: bad magic number in 'enum'
Posted by: eliastw85 - Jun-13-2025, 11:45 AM - Forum: News and Discussions - Replies (2)

Greetings,

How can I resolve the following error? Can't use pyrepl: bad magic number in 'enum' : b'\xd1\xf2\r\n' ?
I am using Python 3.13.4.

Thank y..... More

Print this item

  Challenge: Token
Posted by: Azdaghost - Jun-12-2025, 01:22 PM - Forum: Bar - Replies (2)

Hello Python Community!
I have a challenge:

Can you add 1 + 2 while only using the tokens?

RULES:
You cant use any modules
You cant create ne..... More

Print this item

Question Find windows and send keys?
Posted by: Winfried - Jun-12-2025, 08:16 AM - Forum: General Coding Help - Replies (1)

Hello,

On Windows at least, I wonder if Python can 1) find a window, and 2) simulate typing keys.

Currently, I run an AutoIt just for this, so ..... More

Print this item

  Port forwarding with fritzconnection
Posted by: timonick - Jun-12-2025, 05:01 AM - Forum: Networking - Replies (4)

Hey, I want to temporarily open ports using a Python script. I want to use fritzconnection for this. But I keep getting error 600 ("Argument Value Inv..... More

Print this item

  Unexpected token ';'
Posted by: Azdaghost - Jun-11-2025, 06:14 PM - Forum: General Coding Help - Replies (3)

Hello Python Community!
This is driving me insane, I keep getting this error:

Error:
Unexcepted token ';'
It dosen't give me which line i..... More

Print this item

Question Enabling tracebacks in Voila programatically
Posted by: Calab - Jun-11-2025, 01:08 PM - Forum: General Coding Help - Replies (2)

I have some code in a Jupyter notebook. When I run it locally. It works as expected. If I use Voila to render the notebook locally it still works. Whe..... More

Print this item

  How do I cancel a function while it's still running?
Posted by: The_Fruitass - Jun-10-2025, 09:16 PM - Forum: General Coding Help - Replies (4)

Good day!
My current project is to make a software to move a thing using motors.
What I have set up is an Interval move function, to move the thing o..... More

Print this item

  How scan all ips from main databse
Posted by: ramin_malek - Jun-10-2025, 05:31 AM - Forum: Networking - Replies (1)

   
Hi a want write code in python scan all ips in main database by nmap specify port by protocol ips by subnet if port 80 open add /3..... More

Print this item

  .value changing
Posted by: Azdaghost - Jun-09-2025, 02:11 PM - Forum: General Coding Help - Replies (1)

Hello! I'm trying to make a language and there's a problem.

Whenever I display the token, It displays something like this:
[python][TT_INT: 5][/py..... More

Print this item

  Crontab and python versions
Posted by: stsxbel - Jun-08-2025, 04:59 PM - Forum: General Coding Help - Replies (3)

Good day. Please help me figure this out. Ubuntu has 2 versions of python (3.6 and 3.9). Pymodbus (2.5.3 and 3.0) are installed via pip. So, when I ru..... More

Print this item

  Keyboard input on Android
Posted by: Lukas_Krejci - Jun-07-2025, 02:56 PM - Forum: Game Development - Replies (2)

Hello,
I am creating a simple game using pygame on Android platform and I am not able to receive any key events except for ESCAPE and arrow keys (the..... More

Print this item

  Help with code
Posted by: Ash - Jun-03-2025, 04:50 PM - Forum: Homework - Replies (5)

[python]import requests
import pyttsx3
import time

API_KEY = "ed13978dcbd44393abe5b31e8be20fef"
engine = pyttsx3.init()

def speaker(text):
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] textbox compare... 30 minutes ago dmac6809 deanhystad GUI
  Python Install Mager Help 3 hours ago bowens1983 bowens1983 News and Disc...
  How to ask Smart Question... 9 hours ago metulburr Thatedge Board
  Exercise on reading a chu... 10 hours ago Nit_Picker polytrack Homework
  New Users Introduce Yours... Yesterday, 14:48 Yoriz dmac6809 Bar
  How to retain Annotation ... Yesterday, 08:43 srikrishnan holeioonline Code Review
  Trading Bot written in Py... Yesterday, 07:08 Pizzlew LoriBrown News and Disc...
  replace or remove text fr... 06-29, 18:53 Curbie Curbie General Codin...
  [PyQt] locating a pushbut... 06-29, 18:47 arbiel deanhystad GUI
  Difference and meaning in... 06-29, 15:41 Udbytossen Gribouillis General Codin...
  While loop is terminating... 06-29, 06:19 jumpsworthnow Gribouillis Homework
Most views
  The best Prog... 572378
  Tutorial Requ... 485158
  Web Scraping ... 436907
  Newbie with P... 379748
  Thread remain... 351245
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+ 12068
buran 8173
snippsat 7341
deanhystad 6845
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
mirabelmason132 Today
bhawani Today
william8644 Today
bhugaloo Today
polytrack Today

User Panel Messages

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