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,251
» Latest member: ftk456
» Forum threads: 38,780
» Forum posts: 175,823

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 30 Guest(s)
Bing, Google, Mojeek, Applebot

Latest Threads
New to python and coding
Forum: Homework
Last Post: lary_p
51 minutes ago
» Replies: 5
» Views: 133
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 79
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 221
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 347
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Nov-11-2025, 05:07 AM
» Replies: 5
» Views: 308
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 133
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,634
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 229
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 218
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,624

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

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

  Retrieval-Augmented Generation (RAG), Cassandra DataStax, and FastAPI
Posted by: aziz01 - Mar-08-2025, 08:24 PM - Forum: Code sharing - No Replies

🚀 Introducing Agent Bot – An AI-powered assistant that leverages Retrieval-Augmented Generation (RAG), Cassandra DataStax, and FastAPI to deliver inte..... More


Attached Files

Thumbnail(s)
       
Print this item

  Web Scraping / API
Posted by: nautifi - Mar-08-2025, 06:07 PM - Forum: Jobs - Replies (2)

This is a short-term contract project. Fee is negoiable.

Our website uses a python script to collect json records from another site. This has bee..... More

Print this item

  __eq__ method related problem
Posted by: Tsotne - Mar-08-2025, 11:31 AM - Forum: General Coding Help - Replies (6)

To keep things brief. Suppose I have a simple Car class with only a single attribute - model:

[python]class Car(object):
def __init__(self, mo..... More

Print this item

  Clipper to Python
Posted by: Maney - Mar-07-2025, 09:30 AM - Forum: General Coding Help - Replies (1)

Need assistance to rewrite a POS program which was written in Clipper
Windows7 was the the last version to support it
Have all the necessary info a..... More

Print this item

  How to retain Annotation popup comments in a pdf
Posted by: srikrishnan - Mar-07-2025, 06:50 AM - Forum: Code Review - Replies (2)

Hi All,

I want to add XMP metdata from a xmp file and set initial view settings to the existing pdf. My python script added above two features succ..... More


Attached Files

.py   PDF_XMP_initialView.py (Size: 7.44 KB / Downloads: 0)
Print this item

  I trying to automate the Variable Logon button using the python code but I couldn't
Posted by: surendrasamudrala - Mar-07-2025, 05:02 AM - Forum: General Coding Help - No Replies

So, I had a task that automate the SAP logon using python for login process. I need to automate the variable logon button in SAP logon 740 using pytho..... More

Print this item

  Windows, Linux and virtual environments
Posted by: Calab - Mar-06-2025, 10:47 PM - Forum: General Coding Help - Replies (2)

This is more thinking out loud than a question.

Say I'm developing a python app on a Windows machine. I'm using a virtual environment on the Windo..... More

Print this item

  Game Help
Posted by: glwilliams82 - Mar-06-2025, 06:48 AM - Forum: General Coding Help - Replies (1)

My team and made this code for a Labyrinth the problem is
1. When you find a potion it ends the game
2. When you move_left or move_right it ends the..... More

Print this item

Bug Help With Displaying Turtle Screen
Posted by: SalladShooter - Mar-05-2025, 10:56 PM - Forum: General Coding Help - Replies (11)

I am trying to run a turtle application on VSCode and tkinter is seeming to have a problem and none of my code works because of it.

[python]
f..... More

Print this item

  Python - pyinstaller
Posted by: Hyster - Mar-05-2025, 07:11 PM - Forum: General Coding Help - No Replies

i have 3 .py that i want to turn into an .exe . the main file "main.py" compiles ok and works but i have 2 other .py files that are like widgets "insi..... More


Attached Files

.py   main.py (Size: 22 KB / Downloads: 131)
.py   insignia.py (Size: 8.85 KB / Downloads: 129)
.py   wot-dds.py (Size: 1.19 KB / Downloads: 142)
Print this item

  issue with multiprocessing in embeded python
Posted by: otaolafr - Mar-05-2025, 04:41 PM - Forum: General Coding Help - Replies (1)

Hello,
I am strugling to use mutliprocessing with the python that is inside of salome platform.
salome platform being a CAD software, where i can cr..... More

Print this item

  How do i run python code?
Posted by: smattiko83 - Mar-05-2025, 04:08 PM - Forum: General Coding Help - Replies (5)

Hi, i received the attached code and downloaded python. I've pasted it into the python window that looks like a cmd window. Is that what I should do? ..... More


Attached Files

.py   test.py (Size: 2.04 KB / Downloads: 107)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 51 minutes 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
  Backward compatibility qu... 11-11, 05:07 yutaozhou Gribouillis News and Disc...
  [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
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
Most views
  The best Prog... 578900
  Tutorial Requ... 510079
  Web Scraping ... 441933
  Newbie with P... 385945
  New Users Int... 376624
Most reputation
buran 581
snippsat 510
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 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ftk456 Yesterday
sarbogast Yesterday
bmurray Yesterday
kai_cow2710 Yesterday
Kacper 11-11

User Panel Messages

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