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,397
» Latest member: BioNanoTech
» Forum threads: 38,825
» Forum posts: 176,034

Full Statistics

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

Latest Threads
Sorry Help
Forum: General Coding Help
Last Post: Pedroski55
6 hours ago
» Replies: 1
» Views: 69
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,171
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 07:53 PM
» Replies: 1
» Views: 75
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,623
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 180
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,613
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 257
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,631
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 229
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 375

 
Photo image generation with text style
Posted by: Belialhun - Oct-08-2024, 01:53 PM - Forum: General Coding Help - No Replies

Hi!

A respectful thank you in advance for your help

I would like to expand the functionality of my program. I want the program to recognize the [i] ..... More


Attached Files

.py   GeneratedPNG.py (Size: 10.3 KB / Downloads: 172)
Print this item

  Dice Rolling Simulator
Posted by: laurawoods - Oct-08-2024, 07:02 AM - Forum: Homework - Replies (1)

[code]import random

def roll_dice():
"""Rolls two six-sided dice and returns the sum."""
die1 = random.randint(1, 6)
die2 = random.randint..... More

Print this item

  How should I build this app?
Posted by: SuchUmami - Oct-08-2024, 01:13 AM - Forum: General Coding Help - Replies (1)

I made a really useful script that I would like to improve. It essentially keeps track of timeframes of a stock market chart and makes an overall tall..... More

Print this item

  PC why serial code = converting to ascii ?
Posted by: trix - Oct-07-2024, 02:26 PM - Forum: General Coding Help - Replies (11)

hello,

I have written a piece of code in virtual studio code on the PC that stores the data received via the USB in an, I think an array, bu..... More

Print this item

  Why the python is so slow?
Posted by: rohhthone - Oct-06-2024, 04:10 PM - Forum: General Coding Help - Replies (2)

1.07^600 somehow 4.268414741×10¹⁷ then 1.07 ^ 120 is 3357.78838289 times, so why the socium telling that asm to c is 1.07 and c to python is 1 to 600 ..... More

Print this item

  word game, how to give hints
Posted by: STUdevil - Oct-06-2024, 12:51 PM - Forum: General Coding Help - Replies (5)

i m new to all of the programming and i mlearning python right now.
i m learning right now loops for/while.
i need to write a word guessing game. i..... More

Print this item

  Rotake rect, image or text at its center
Posted by: LavaCreeperKing - Oct-06-2024, 02:45 AM - Forum: GUI - Replies (8)

Hi I think I ashed a question like this long ago on the old site, but I have lost my example code from back then.

I am working on a project for des..... More

Print this item

  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: 197)
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 (4)

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

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: 183)
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: 218)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sorry Help 6 hours ago BioNanoTech Pedroski55 General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  Check if running from she... Yesterday, 19:53 rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580465
  Tutorial Requ... 519985
  Web Scraping ... 442797
  Newbie with P... 387013
  New Users Int... 386772
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
BioNanoTech Today
CarlApome Yesterday
cruisesfares 12-30
azam 12-30
zcharlesoogleto9533 12-30

User Panel Messages

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