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,920
» Latest member: aidajnrz7704
» Forum threads: 38,722
» Forum posts: 175,488

Full Statistics

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

Latest Threads
Chris Paul mythical IQ co...
Forum: Homework
Last Post: Sabrinas
3 hours ago
» Replies: 0
» Views: 21
Do the Miami Dolphins inc...
Forum: Data Science
Last Post: Sabrinas
3 hours ago
» Replies: 0
» Views: 17
Antonio Pierce Pleads Wit...
Forum: GUI
Last Post: Sabrinas
3 hours ago
» Replies: 0
» Views: 14
Select Python comment (#)...
Forum: General Coding Help
Last Post: SpongeB0B
3 hours ago
» Replies: 4
» Views: 262
TimsothyKat
Forum: General Coding Help
Last Post: LewisByday
3 hours ago
» Replies: 0
» Views: 12
Packers Loss $12.5 Millio...
Forum: General Coding Help
Last Post: Sabrinas
4 hours ago
» Replies: 0
» Views: 5
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
4 hours ago
» Replies: 5
» Views: 1,076
New to the field
Forum: News and Discussions
Last Post: Polybunny
9 hours ago
» Replies: 0
» Views: 59
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Yesterday, 03:23 PM
» Replies: 4
» Views: 2,245
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 11:09 AM
» Replies: 2
» Views: 802

 
  Create a new subclass in a Python extension based on an existing class
Posted by: voidtrance - Mar-24-2025, 03:27 PM - Forum: General Coding Help - Replies (6)

I am writing a custom module using the C API for an application. In the extension, I want to define a new enum.IntEnum subclass to be part of the C ..... More

Print this item

  Βad Input on line 12
Posted by: Azdaghost - Mar-24-2025, 02:16 PM - Forum: General Coding Help - Replies (5)

Why does it not work Wall Wall

[python]class JetPy:
class Objects():
def __init__(self, pos, size):
self.pos = pos
..... More

Print this item

  How to Print a Pyramid Asterisk Pattern in Python?
Posted by: williamclark - Mar-24-2025, 10:05 AM - Forum: General Coding Help - No Replies

Hello,

I am preparing for a Python developer interview and came across a question:
"Which program can be used to print a pyramid asterisk pattern?..... More

Print this item

  I'm trying to import a dataset into a Jupyter Notebook
Posted by: Hisilat03 - Mar-24-2025, 09:26 AM - Forum: General Coding Help - No Replies

I'm trying to import a dataset into a Jupyter Notebook (Windows 11) to practice machinie learning. I don't know the proper file location where the tra..... More

Print this item

  Insert command line in script
Posted by: lif - Mar-24-2025, 08:49 AM - Forum: General Coding Help - Replies (4)

Hello,

I know very little about Python programming, so be gentle with me please

I have a script for detecting a PIR movement on a Raspberry Pi 3..... More

Print this item

Question I need help for my python homework (getting the user input into a .txt file)
Posted by: Haydengjy - Mar-23-2025, 10:59 AM - Forum: Homework - Replies (5)

Please help me, because this is for a project and it's very important!!! Wall Wall Wall

-Python version used:Python 3.12.5-


[py..... More

Print this item

  Errors during run .exe file generated with Pyinstaller
Posted by: BushyAxis793 - Mar-22-2025, 07:56 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm just starting my adventure with Python, so please bear with me.

I wrote a script that deletes a database.

I wanted the script to b..... More

Print this item

  in c# create a loop counting from 0 to 5, consecutively
Posted by: Frankd - Mar-21-2025, 12:05 PM - Forum: General Coding Help - Replies (19)

Hello,

I am trying to make complexe calculation that require a lot of data.

in c# create a loop counting from 0 to 5, consecutively e.g. 0 to 5, 1 t..... More

Print this item

  Camelot not able to change column header
Posted by: shortmeister1 - Mar-21-2025, 06:36 AM - Forum: General Coding Help - Replies (2)

Good morning clever people.

Firstly, I'm a newbie to Python, with a background in VBA, Power Query, SQL etc. etc.

I've read a few books and am t..... More

Print this item

  Simple pysnmp example?
Posted by: Calab - Mar-20-2025, 03:40 PM - Forum: General Coding Help - Replies (2)

I'm running python 3.13. I have v 7.1.17 of the pysnmp module installed.

I'm trying to do a simple SNMP get, but I am having trouble understanding ..... More

Print this item

  tkinter Radio button group not setting default selection
Posted by: simonc88 - Mar-20-2025, 10:56 AM - Forum: GUI - Replies (3)

I am having a problem getting a radiobutton selection group to display correctly when I place it inside its own frame. This basic code works fine, wit..... More

Print this item

  Don't update/upload null data
Posted by: Philskidvd - Mar-20-2025, 10:52 AM - Forum: General Coding Help - No Replies

Hello,
I have been trying to build a GPS tracker for my car.
I found a very useful tutorial online, and have built what is a very precise, most of t..... More

Print this item

  Using Python to SSH and Run commands in a switch
Posted by: justaguy - Mar-19-2025, 06:21 PM - Forum: Networking - No Replies

I had ChatGPT write me some code for being able to SSH into a list of switches and run a text file with a list of commands for a Juniper switch. When ..... More

Print this item

  Stupid question
Posted by: int - Mar-19-2025, 05:05 PM - Forum: General Coding Help - Replies (2)

Hi! I want to install Python on Linux. I don't see any non-source options for Linux installers...What options do I have? I will use the source vers..... More

Print this item

  Problem running external process
Posted by: rjdegraff42 - Mar-19-2025, 04:11 PM - Forum: General Coding Help - No Replies

I'm trying to run ffplay (ffmpeg utility) as an external process. It works fine until I add arguments to include a subtitle file. The command to do th..... More

Print this item

  ModuleNotFoundError: No module named 'openai'
Posted by: Tom_Hack - Mar-19-2025, 02:25 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello everyone,

First of all, I'm quite a newbie to Python, so this question might seem a bit trivial.
But unfortunately I can't get any further :?:
..... More

Print this item

  Coding music
Posted by: LukasInCloud - Mar-19-2025, 09:45 AM - Forum: Bar - Replies (6)

Please share the track you listen to while coding.
What music inspires you?
What helps you to concentrate?

Print this item

  UI to show a web page
Posted by: Wompe1959 - Mar-19-2025, 07:31 AM - Forum: GUI - No Replies

Hi all,
I would like to create a python ui to show a web page with link hidden. In particular I created a node-red dashboard and I would install on c..... More

Print this item

  Solving graph problem
Posted by: Dolyk - Mar-18-2025, 03:37 PM - Forum: General Coding Help - Replies (1)

Hey, guys!

Could you please help me draw white line as shown in the attachment? I need the line to be at an angle of 3 degrees and to look logarith..... More


Attached Files

Thumbnail(s)
   
Print this item

  RPi and smartphone Bluetooth communication
Posted by: GigiG - Mar-18-2025, 09:54 AM - Forum: General Coding Help - No Replies

Hi all. I'm complete newbie on Python. I'd like to write code to connect and communicate an RPi ZeroW (with Camera) with an Android smartphone (with A..... More

Print this item

  modifying a script
Posted by: mackconsult - Mar-17-2025, 03:37 AM - Forum: General Coding Help - Replies (1)

I have jellyfin running on an ubuntu server in my house. I have a playlist that I have put a lot of effort into (1000 songs).

I also installed jel..... More

Print this item

  I have created a bot in python but getting issue in element selection
Posted by: domic33 - Mar-16-2025, 01:55 PM - Forum: General Coding Help - No Replies

Hi guys I have created a python but for registering WordPress accounts for me on their register URLs but after registering I got an email I have give ..... More

Print this item

  Using Flask with thonny for my project website need help
Posted by: Confusednoob - Mar-15-2025, 12:52 PM - Forum: Web Scraping & Web Development - Replies (3)

Ive been trying to get flask working in thorny to connect to my website and no amount of ai help is working. I have an issue where thonny seems to be ..... More


Attached Files

.py   test.py (Size: 237 bytes / Downloads: 111)
Print this item

Music ERROR: Could not build wheels for fairseq
Posted by: snl_9527 - Mar-15-2025, 12:43 PM - Forum: General Coding Help - No Replies

my python version=3.9.21
my pip version=23.0.1
Hello, I am learning an open source software on GitHub, and the following error occurred when running..... More

Print this item

  python env with dictionary
Posted by: maiya - Mar-15-2025, 08:07 AM - Forum: General Coding Help - Replies (2)

Hello All,

I want to create an .env file which should contains the dictionary format variables for logging. Later I would like to read those variab..... More

Print this item

  Nested loops vs list comprehension - pls. help
Posted by: pbsleczkowski - Mar-14-2025, 06:14 PM - Forum: Homework - Replies (5)

Hi!

I have following task:

[quote]The following code cell will execute a nested loop that will deliver all possible combinations of the elements..... More

Print this item

  code isnt working.
Posted by: nezercat33 - Mar-13-2025, 11:51 PM - Forum: General Coding Help - Replies (1)

so i was trying to work on my game but when i change the "inbattle" variable to true it doesnt put them in battle, how do i fix this?
heres my code f..... More

Print this item

  Best app for benchmarking Python energy consumption?
Posted by: intsaniac - Mar-13-2025, 08:34 AM - Forum: News and Discussions - No Replies

Hello!

I am currently doing my computer science thesis on Python energy consumption. This entails measuring the energy consumption of a Raspberry ..... More

Print this item

  How does venv update $PATH without activating on Windows?
Posted by: bottomfeeder - Mar-13-2025, 01:46 AM - Forum: General Coding Help - Replies (3)

I have a library installed in a venv which adds an .exe in the venv/Scripts/ folder. My Python script can find this .exe without explicitly activating..... More

Print this item

  Working with Dictionaries - logic seems backward...
Posted by: DevelopingBoomer - Mar-12-2025, 02:42 AM - Forum: Homework - Replies (5)

Hi - I am 'taking a course' in Brilliant, and ran across this:
[python]
daily_demands = {
"pear": [6,4,3,2,1],
"apple": [5,3,2,1,0],
"ora..... More

Print this item

  Correct/proper way to create save files
Posted by: snakes - Mar-11-2025, 06:58 PM - Forum: General Coding Help - No Replies

I'm not sure I've designed my app correctly/properly. It works, but should I have done it differently?

I've got two questions but my Flatpak questi..... More

Print this item

Question [SOLVED] How would you code this UI?
Posted by: Winfried - Mar-10-2025, 01:37 PM - Forum: GUI - Replies (3)

Hello,

I'm still learning about sizers in wxPython, and not sure how to get this type of UI.

What sizer should I use, and how?

Thank you.


Attached Files

Thumbnail(s)
   
Print this item

  Prevention of deleting and creating folders
Posted by: kayak88 - Mar-10-2025, 01:21 PM - Forum: General Coding Help - Replies (1)

Hi. I was wondering if anyone has any idea how to prevent Windows user to delete and create folders / files in a specific path and its sub-folders.
..... More

Print this item

  Where to announce new package releases these days?
Posted by: ptmcg - Mar-10-2025, 03:19 AM - Forum: News and Discussions - Replies (3)

I'm about to release some significant changes in the open source package pyparsing.

There used to be comp.lang.python.announce for these kind of..... More

Print this item

  Pinball table CCC
Posted by: fourbanks - Mar-09-2025, 03:10 PM - Forum: General Coding Help - No Replies

I'm not sure if this post will make any sense, as I know nothing about python software, so do please bear with me
I'm a senior member of a pinball fo..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Chris Paul mythical IQ co... 3 hours ago Sabrinas Sabrinas Homework
  Do the Miami Dolphins inc... 3 hours ago Sabrinas Sabrinas Data Science
  Antonio Pierce Pleads Wit... 3 hours ago Sabrinas Sabrinas GUI
  Select Python comment (#)... 3 hours ago SpongeB0B SpongeB0B General Codin...
  TimsothyKat 3 hours ago LewisByday LewisByday General Codin...
  Packers Loss $12.5 Millio... 4 hours ago Sabrinas Sabrinas General Codin...
  I'm trying to make a piec... 4 hours ago Alislugacool MilesWeb General Codin...
  New to the field 9 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...
Most views
  The best Prog... 575366
  Tutorial Requ... 496096
  Web Scraping ... 439495
  Newbie with P... 383075
  New Users Int... 363656
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
aidajnrz7704 Today
Sabrinas Today
Jillscitt Yesterday
Stowersw Yesterday
Intel Yesterday

User Panel Messages

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