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,566
» Latest member: kholdeman
» Forum threads: 38,632
» Forum posts: 175,020

Full Statistics

Online Users
There are currently 447 online users.
» 0 Member(s) | 438 Guest(s)
Bing, Baidu, Google, Yandex, Mojeek, Facebook

Latest Threads
The Crucial Importance of...
Forum: General Coding Help
Last Post: Martinjaw
1 hour ago
» Replies: 0
» Views: 25
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
4 hours ago
» Replies: 4
» Views: 171
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
9 hours ago
» Replies: 7
» Views: 241
[split] Simple webbot for...
Forum: Code Review
Last Post: AB073
Yesterday, 01:17 PM
» Replies: 0
» Views: 40
What Are the Most Overloo...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 10:56 AM
» Replies: 1
» Views: 66
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Yesterday, 06:40 AM
» Replies: 4
» Views: 963
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 04:47 AM
» Replies: 1
» Views: 77
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Yesterday, 02:19 AM
» Replies: 2
» Views: 108
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jun-17-2025, 02:23 AM
» Replies: 1
» Views: 118
Webscraping: Attendance L...
Forum: Web Scraping & Web Development
Last Post: Larz60+
Jun-17-2025, 02:20 AM
» Replies: 1
» Views: 105

 
  change dataclass to frozen at runtime
Posted by: jpanico - Oct-05-2024, 07:46 PM - Forum: General Coding Help - Replies (2)

I'm working with a dataclass that is code-generated by a tool I do not control:

@dataclass
class Concern:
    id: ConcernID
N..... More

Print this item

  Output on displaying on GUI
Posted by: pytogui - Oct-05-2024, 02:50 PM - Forum: GUI - Replies (1)

I am facing an issue regarding my gui built using pyqt5. It is four button gui that clicks the button on count of 3 eye blinks and changes focus on 2 ..... More


Attached Files

.py   newpygui.py (Size: 20.91 KB / Downloads: 128)
Print this item

  Trouble Setting Up Selenium with FireFox (Python 3 on Windows 10))
Posted by: gw1500se - Oct-04-2024, 04:29 PM - Forum: General Coding Help - Replies (5)

I have a script that used to work with Python 2 and I have upgraded to Python 3. I have been going in circles trying different suggestions for solvin..... More

Print this item

  Help with my coding
Posted by: elgreedy - Oct-03-2024, 10:47 PM - Forum: General Coding Help - Replies (3)

Hello everyone,

I am noob in python so I need your help!
I tried my best to retrieve all the information of the houses in this website with a webs..... More

Print this item

  Trying to understand method
Posted by: Giri234 - Oct-03-2024, 09:29 PM - Forum: General Coding Help - Replies (1)

I am trying to understand the following code in home assisant integration. Is setup_platform method is ending on where it is returning None or ever..... More

Print this item

  Merge list
Posted by: Simso - Oct-03-2024, 09:53 AM - Forum: General Coding Help - Replies (2)

Hi,

how merge the first item of one list with the first item of another list.

first list:
D,B,C,

second list
5,2,7,

result should be
..... More

Print this item

  eth0: [ERROR] Set device name: No such device
Posted by: inkmin - Oct-03-2024, 12:52 AM - Forum: General Coding Help - No Replies

I cannot change the MAC address in my Kali VM with this Python code:
[python]interface = input("interface > ")
new_mac = input("new MAC > ")
subpro..... More

Print this item

  Python install issue
Posted by: redreign83 - Oct-02-2024, 04:00 PM - Forum: General Coding Help - Replies (2)

Not sure if this is the right place but I am having an issue.
I am trying to install Python 2.7.5 on a RHEL 8.10 vm.
I follow the basic instruction ..... More

Print this item

  Error in Pycharm
Posted by: Hudjefa - Oct-02-2024, 08:34 AM - Forum: General Coding Help - Replies (3)

I'm using Pycharm as a Python IDE. Is it advisable to do so?
I wrote a program and it gives me the following error messages (the code works, Pycharm ..... More

Print this item

  str.decode to PNG not working with MySql
Posted by: Tacllem - Oct-01-2024, 04:01 PM - Forum: General Coding Help - Replies (9)

Good day everyone.
I have inherited a Python 2.7 script that pulls records from a mysql database and creates png files to export my product's images...... More


Attached Files

.py   imageConverterDemoV10.py (Size: 5.35 KB / Downloads: 118)
Print this item

  basic ignorance help
Posted by: ineuw - Oct-01-2024, 12:54 AM - Forum: General Coding Help - Replies (8)

I am a basic Python user in Linux, and I am trying to activate the geany text editor with Python, and a preset windows size and position. The librari..... More

Print this item

  Pywin32 API and PyOpenGL error
Posted by: dqt1975 - Sep-30-2024, 12:46 PM - Forum: Game Development - Replies (1)

Hi everyone, I am trying to make a transparent screen by hide the background color with win32api
It work with pygame in 2D. However, when I use pyopen..... More


Attached Files

Thumbnail(s)
   
Print this item

Smile Trying to make Fond Dialog box
Posted by: TheTiger - Sep-30-2024, 03:27 AM - Forum: GUI - Replies (11)

Hello Python Community

I'm new to Python. I'm using Visual Studio Code in Windows10, latest version of Python. I'm using Tkinter GUI.
I'm making a..... More

Print this item

  extracting from a string
Posted by: Stephanos - Sep-29-2024, 11:11 AM - Forum: General Coding Help - Replies (6)

Dear All

I have run into an anomaly. This snippet of code works
[python]original_string = "Hello, World!"
extract = original_string[7:12] # Ext..... More

Print this item

  raspberry pico remapping uart ?
Posted by: trix - Sep-28-2024, 08:40 AM - Forum: General Coding Help - No Replies

hello,

i have a raspberry pico where is 2x a UART on board,.....but i need 3 UART's.
1 - is for the touchscreen (nextion)
2 - is for a home made ..... More

Print this item

  What are the key benefits of using Oracle CPQ for sales processes?
Posted by: saichinnu1852 - Sep-28-2024, 06:23 AM - Forum: News and Discussions - Replies (4)

I am exploring Oracle CPQ (Configure, Price, Quote) and would like to understand how it optimi..... More

Print this item

  where to find current app documentation standards and tools
Posted by: radlyeel - Sep-27-2024, 06:06 PM - Forum: General Coding Help - Replies (2)

Is there a generally recommended standard for Python application documentation? I'm discovering reStructured Text and Sphinx but I'd like to know if ..... More

Print this item

  Pyinstaller and a custom python script
Posted by: mentat - Sep-27-2024, 04:42 PM - Forum: General Coding Help - No Replies

Good day. this is my first time posting. I have a python app that we are using for autonomous guided vehicles obstacle detection. I am trying to get i..... More

Print this item

  send bytearray over UART
Posted by: trix - Sep-27-2024, 02:49 PM - Forum: General Coding Help - Replies (9)

hello,
i thought that i post this question a half hour aggo, but i can not find it back ?

no problem i asked again:

i want to send a bytearray..... More

Print this item

  Trying to Make Steganography Program Work For All Payload Types
Posted by: Stegosaurus - Sep-26-2024, 12:43 PM - Forum: General Coding Help - No Replies

Hi! :)

I have programmed a Steganography app which runs on Python Streamlit.

1. It currently works for if the payload is txt or text file. But ..... More


Attached Files

.py   V4 (1).py (Size: 12.17 KB / Downloads: 152)
Print this item

  Creating tables based on a dictionary of dictionaries
Posted by: Calab - Sep-25-2024, 09:23 PM - Forum: Data Science - Replies (3)

I have a rather large, complicated dictionary structure that I need to duplicate in a Snowflake SQL database. I know that I can iterate through each d..... More

Print this item

  syntax error - repeating error
Posted by: awaugh - Sep-25-2024, 06:34 PM - Forum: Data Science - Replies (1)

Within this code every time I go to run this code through Abaqus i receive the same syntax error within this section

[python]displacement_data[val...... More

Print this item

  Mirroring disk structures in nested dictionaries
Posted by: Curbie - Sep-25-2024, 03:33 PM - Forum: General Coding Help - Replies (16)

I’m trying to learn nested directories, by mirroring an ancient disk structure in nested directories, the nested directory structure is intended to be..... More

Print this item

  QThread Signal is emitted immediately at start of Code
Posted by: Caliban86 - Sep-25-2024, 02:21 PM - Forum: General Coding Help - Replies (3)

Hello, i have a Qestion again regarding QThreading. I wrote a very simple Sample Code for a Thread:

[python]from PySide6 import QtCore
from PySide..... More

Print this item

  pip install paddlepaddle-tiny does not install
Posted by: Pedroski55 - Sep-24-2024, 04:52 AM - Forum: General Coding Help - Replies (4)

I want to use the package jieba to analyse Chinese text.

From PyPI here I should insta..... More

Print this item

  I think I need to delete input data because returning to start fails
Posted by: thelad - Sep-23-2024, 10:46 PM - Forum: General Coding Help - Replies (2)

my messy and badly written code is to activate a 6 channel relay to open solenoids via the raspberry pi on my display cabinet.
it works, sort of. If..... More

Print this item

  Help Scraping web site
Posted by: galletti - Sep-23-2024, 08:44 AM - Forum: General Coding Help - Replies (1)

i'm tryng to scrape a website..

[python]from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui..... More

Print this item

  how can you make a question have more than one awnser
Posted by: pentopdmj - Sep-22-2024, 03:01 PM - Forum: General Coding Help - Replies (2)

print("Do you like christmas")
likes_christmas = input()
if likes_christmas == "Yes":

Print this item

  really new to python want to know how to do a loop
Posted by: pentopdmj - Sep-22-2024, 01:59 PM - Forum: General Coding Help - Replies (6)

want it so when you ask a number that inset 7 it asks you again what your number is and it keeps repeating like this
[python]print("Guess a number b..... More

Print this item

  Code using only bit manupulation
Posted by: Metalione - Sep-22-2024, 08:43 AM - Forum: Code sharing - Replies (3)

HI,

Need advice about my code. I a newbie at this so hope you will be gentle Smile :).

Have I done this correctly?

Print this item

  Nested Lists & Dictionaries
Posted by: Hudjefa - Sep-22-2024, 05:29 AM - Forum: General Coding Help - Replies (5)

So I'm learning about nested dictionaries and loops.
I wrote the following short program:
[python]a_morning = {"Sara": ["dressed", "breakfasted"], ..... More

Print this item

  python read PDF Statement and write it into excel
Posted by: mg24 - Sep-21-2024, 08:58 PM - Forum: General Coding Help - Replies (1)

hi Team,

I have attached bank statement pdf screenshot , I want output it in excels tabular format.




Thanks
mg


Attached Files

Thumbnail(s)
   
Print this item

  For Loop assigns only the latest value from List
Posted by: Caliban86 - Sep-21-2024, 12:41 PM - Forum: General Coding Help - Replies (3)

Hello Guys, im really new here and i am still working on the Basics of Python but i got to a Problem, where i do absolutely have no idea, what is wron..... More

Print this item

Bug hello, need help with basic ML
Posted by: pababam - Sep-21-2024, 09:58 AM - Forum: Data Science - Replies (1)

Hello, i take data from alphavantage for chosen share values for choosen day : Date, Open, High, Low, Close, Volume.
And i try to perform simple comp..... More


Attached Files

.py   ml-002.py (Size: 5.57 KB / Downloads: 1)
Print this item

  IndexError: index 31 is out of bounds for axis 0 with size 31
Posted by: YL789 - Sep-21-2024, 08:29 AM - Forum: General Coding Help - Replies (1)

Hi all,

I try to convert a netCDF to XML with the following lines of code, and I think the code handle the bounds issue. However, it still shows th..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  The Crucial Importance of... 1 hour ago Martinjaw Martinjaw General Codin...
  Setting AST node lineno c... 4 hours ago voidtrance deanhystad General Codin...
  How do select this table ... 9 hours ago MarkMan snippsat Web Scraping ...
  [split] Simple webbot for... Yesterday, 13:17 AB073 AB073 Code Review
  What Are the Most Overloo... Yesterday, 10:56 shreyapatel DeaD_EyE News and Disc...
  Wish to write a code for ... Yesterday, 06:40 Hasan2025 Hasan2025 General Codin...
  I have a question Yesterday, 04:47 Clictithe Pedroski55 General Codin...
  How to produce a CPU load... Yesterday, 02:19 Calab Plyth General Codin...
  Venv - Python Virtual Env... 06-17, 02:23 DanneA Larz60+ General Codin...
  Webscraping: Attendance L... 06-17, 02:20 ThatsMe Larz60+ Web Scraping ...
  Convert any Python expres... 06-16, 14:06 voidtrance voidtrance General Codin...
Most views
  The best Prog... 572240
  Tutorial Requ... 484727
  Web Scraping ... 436785
  Newbie with P... 379611
  Thread remain... 351213
Most reputation
buran 581
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12065
buran 8173
snippsat 7336
deanhystad 6838
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
kholdeman Yesterday
AB073 Yesterday
ANOUAR33 Yesterday
gooberpat Yesterday
Clictithe Yesterday

User Panel Messages

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