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,918
» Latest member: Jillscitt
» Forum threads: 38,717
» Forum posts: 175,481

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 42 Guest(s)
Google, Bing, AOL, AOL, Facebook, Internet Archive

Latest Threads
Select Python comment (#)
Forum: General Coding Help
Last Post: deanhystad
2 hours ago
» Replies: 3
» Views: 202
New to the field
Forum: News and Discussions
Last Post: Polybunny
4 hours ago
» Replies: 0
» Views: 42
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Yesterday, 03:23 PM
» Replies: 4
» Views: 2,205
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 11:09 AM
» Replies: 2
» Views: 771
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Yesterday, 08:36 AM
» Replies: 1
» Views: 2,076
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-11-2025, 08:39 PM
» Replies: 6
» Views: 1,393
I'm trying to make a piec...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-11-2025, 05:54 PM
» Replies: 4
» Views: 1,035
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Sep-11-2025, 05:34 PM
» Replies: 5
» Views: 1,159
pip fails to install PyGO...
Forum: General Coding Help
Last Post: Larz60+
Sep-11-2025, 10:50 AM
» Replies: 2
» Views: 1,727
how to manage crypto trad...
Forum: General Coding Help
Last Post: Mercyto
Sep-11-2025, 06:01 AM
» Replies: 2
» Views: 2,894

 
  None collapsing Tuple at 1 value nor need the , at 1 val
Posted by: hihi - Jul-20-2025, 03:24 AM - Forum: Code Review - No Replies

name: tup
description: Alternative for tuple that does not collapse nor need a comma when at 1 val and operates within guide lines of tuple. Inte..... More


Attached Files

.py   tupled.py (Size: 4.51 KB / Downloads: 0)
Print this item

  Label & OptionMenu widget not registered as dict keys
Posted by: slate - Jul-19-2025, 08:03 AM - Forum: GUI - Replies (2)

Currently making a financial tracking system, and ran into an issue with accessing 'item_category_optnmenu' and 'delitem_category_lbl' keys in a dicti..... More

Print this item

  Code stoped working
Posted by: OldMan57 - Jul-18-2025, 12:57 PM - Forum: News and Discussions - Replies (2)

Hello
I am new coding. I have a code that goes out to a particular web site to download png images. It has been work normal for about a year now. But..... More

Print this item

  gpiozero buttons stop working
Posted by: duckredbeard - Jul-15-2025, 01:48 PM - Forum: General Coding Help - Replies (7)

I have a Raspberry Pi 4 running a code that monitors several buttons. When a button is pressed or released, it does a requests post and prints two lin..... More

Print this item

  How to package code for different python environments
Posted by: mayukun - Jul-15-2025, 11:10 AM - Forum: General Coding Help - Replies (2)

I want to develop a toolkit that integrates image denoising algorithms, allowing users to select different algorithms to denoise images by themselves...... More

Print this item

  pip3 install certifi failing with timeouts
Posted by: rb9594 - Jul-15-2025, 02:12 AM - Forum: General Coding Help - Replies (1)

I am trying to complete final homework for Coursera Using Databases with Python.

Source code i was given to try to execute, line in red is throwing..... More

Print this item

  Unable to define function in Idle
Posted by: gmonroe - Jul-14-2025, 04:12 PM - Forum: Homework - Replies (2)

I've been unable to define a function in the Idle shell, although in Python proper it seems to work ok. Below is an example:

[python]def f(x):
..... More

Print this item

  processing nested json data
Posted by: Kumo_Koloo - Jul-13-2025, 06:11 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,
i need help to flatten the below json data by removing from "Answers" where "answer1" is null('') :

"body": [
{
"respo..... More

Print this item

  Qt Event Filtering
Posted by: deanhystad - Jul-13-2025, 12:26 PM - Forum: GUI - Replies (3)

I wrote some qt code that uses and event filter to pass key press/release events from one object to another. It makes it look like I have a plain te..... More

Print this item

  Why is bool() an instance of int()?
Posted by: voidtrance - Jul-11-2025, 06:25 PM - Forum: General Coding Help - Replies (4)

I was surprised to find out that isinstance(bool(1), int) returns True. Why would that be?

If you have the follow..... More

Print this item

  Trouble Importing cell2location After Installation - Need Help
Posted by: haileyp - Jul-11-2025, 01:36 PM - Forum: General Coding Help - Replies (3)

Hi everyone,
I am very new to Python and forums, so I hope this is the right place to ask for help. Please excuse me if this is not appropriate here...... More

Print this item

  Custom Sorting List of Dictionaries Based on Nested Key and Condition
Posted by: aryasinner - Jul-11-2025, 10:35 AM - Forum: Homework - Replies (3)

Hi everyone,
I'm working on a small exercise where I need to sort a list of dictionaries representing products. Each product dictionary looks like thi..... More

Print this item

  Coding Standards
Posted by: kency - Jul-11-2025, 04:11 AM - Forum: General Coding Help - Replies (4)

Hi all,
I am coming from a Java background, where everythins is a class. I was going through FastAPI and noticed that the routes are assigned to func..... More

Print this item

  Data cleaning and analysys in Python
Posted by: siriuslight - Jul-10-2025, 03:24 PM - Forum: General Coding Help - Replies (2)

I want to start first by saying that I am just learning Python and I am new to this amazing language, but eager to learn.
Now I need your help in doi..... More


Attached Files

Thumbnail(s)
               
Print this item

  Trying to access a method from my Toplevel Form
Posted by: avmvldr - Jul-09-2025, 06:37 PM - Forum: GUI - Replies (1)

I'm new to Python programming so please bare with me. I have a tkinter app in which I have a Toplevel Form (a MDI form in the .Net world) that contain..... More


Attached Files

Thumbnail(s)
   
Print this item

  Convert .pdf to .txt
Posted by: vmars316 - Jul-08-2025, 09:58 PM - Forum: General Coding Help - Replies (7)

Greetings:
want to Convert .pdf to .txt
Here is .pdf https:**vmars.us*ShowMe*Reformation.Church.History.Martin.Luther%20Extract[1-3].pdf
(..... More

Print this item

  Losing mouse acces, Tkinter, (gui inside) System-taskbar.
Posted by: MvGulik - Jul-08-2025, 08:31 PM - Forum: GUI - Replies (3)

I have this little tkinter information bar (window without title-bar -> auto on-top), which can be moved around with the mouse.
Everything wor..... More

Print this item

  Python logic absurdity
Posted by: Curbie - Jul-08-2025, 07:57 PM - Forum: General Coding Help - Replies (9)

I’ve run into Python’s logic absurdity twice now, the first time I wrote it off to Python “magic”, though I hated it, I got through it as a one-off sh..... More

Print this item

  pip fails to install PyGObject
Posted by: voidtrance - Jul-08-2025, 02:42 PM - Forum: General Coding Help - Replies (2)

I am trying to install PyGObject into my virtual environment on a Fedora 42 system but it is failing during a missing dependency:

[output]
Collect..... More

Print this item

  Pytube certificate error
Posted by: ultrastresliporsuk - Jul-07-2025, 11:44 PM - Forum: General Coding Help - Replies (1)

Hey,
[python]

from pytube import YouTube
url = YouTube("https://www.youtube.com/watch?v=WRfZf43dnj8&ab_channel=TED-Ed")
print(f"video title {url..... More

Print this item

  Sourcetrail project
Posted by: paul18fr - Jul-06-2025, 09:26 PM - Forum: News and Discussions - No Replies

Hi,

Some time ago, i discovered Sourcetrail few weeks before Coati stopped to maintain the tool; today it's not possible to use it with the newest ..... More

Print this item

  Deciding on a Macbook Pro - Which of these configurations is Just or an Overkill for
Posted by: techthiru - Jul-06-2025, 06:54 PM - Forum: Bar - No Replies

Hey all! couple of questions:

Deciding on a MacBook Pro with M4 chip.

1 - I want to understand which one of the configurations below are just e..... More

Print this item

  Pylance: "... is not a known attribute of module ..." ?
Posted by: MvGulik - Jul-06-2025, 11:37 AM - Forum: General Coding Help - Replies (5)

Getting this "EXAMPLE" is not a known attribute of module "config" from Pylance (after activating Pylance)
But I don't understand why Pylance ..... More

Print this item

  RemoTe server operation with Paramiko issue
Posted by: mario17 - Jul-03-2025, 11:04 PM - Forum: General Coding Help - Replies (6)

Hi all,

I'm trying to learn about capabilities of Python to work on remote servers. For my setup I have local ServerA and remote ServerB, I need ..... More

Print this item

Question [SOLVED] Hide CLI while grabbing its stdout?
Posted by: Winfried - Jul-02-2025, 06:45 PM - Forum: GUI - Replies (6)

Hello,

I use a wxPython GUI to run a CLI application. It's just a listbox and a button to trigger the action.

Is it possible to hide the CLI con..... More

Print this item

  textbox compare command not working for me
Posted by: dmac6809 - Jun-30-2025, 04:19 PM - Forum: GUI - Replies (5)

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

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

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

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 - Replies (1)

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: 64)
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 (7)

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Select Python comment (#) 2 hours ago SpongeB0B deanhystad General Codin...
  New to the field 4 hours ago Polybunny Polybunny News and Disc...
  Seeking feedback: dynamic... Yesterday, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... Yesterday, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... Yesterday, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
  I'm trying to make a piec... 09-11, 17:54 Alislugacool DeaD_EyE General Codin...
  New to Python and Pygame 09-11, 17:34 JMcM JMcM Game Developm...
  pip fails to install PyGO... 09-11, 10:50 voidtrance Larz60+ General Codin...
  how to manage crypto trad... 09-11, 06:01 Mikeardy Mercyto General Codin...
  How to space data on x ax... 09-11, 05:35 m_kdch Pedroski55 General Codin...
Most views
  The best Prog... 575351
  Tutorial Requ... 496044
  Web Scraping ... 439482
  Newbie with P... 383052
  New Users Int... 363529
Most reputation
buran 581
snippsat 508
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+ 12086
buran 8174
snippsat 7365
deanhystad 6890
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Jillscitt Yesterday
Stowersw Yesterday
Intel Yesterday
Gichardaxora Yesterday
Olivia Yesterday

User Panel Messages

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