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,250
» Latest member: sarbogast
» Forum threads: 38,780
» Forum posts: 175,821

Full Statistics

Online Users
There are currently 52 online users.
» 2 Member(s) | 46 Guest(s)
Google, Applebot, buran, deanhystad

Latest Threads
why is the image not show...
Forum: General Coding Help
Last Post: Axel_Erfurt
31 minutes ago
» Replies: 1
» Views: 23
New to python and coding
Forum: Homework
Last Post: jefsummers
6 hours ago
» Replies: 4
» Views: 110
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
8 hours ago
» Replies: 6
» Views: 196
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 320
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 285
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 113
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,624
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 215
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 198
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,314

 
  Best programming practice for imports
Posted by: Curbie - Oct-15-2024, 05:09 PM - Forum: General Coding Help - Replies (8)

It seems to this newbe, like python programs wants to be built-up from the smallest reusable routines as possible? If that is so, I could end up with ..... More

Print this item

  Art Project including face detection, screenshot and Face TEXTURE MAP
Posted by: ecaillerose - Oct-15-2024, 10:35 AM - Forum: General Coding Help - Replies (1)

Hi !

I'm a art student in France, who do a lot of programmation stuffs ; for one of my project i'm kind of stucked.

I'm doing a code in Python t..... More

Print this item

  Paste text with caret already positioned inside a placeholder;
Posted by: Wehaveall - Oct-15-2024, 10:23 AM - Forum: General Coding Help - Replies (2)

Hi guys, I have a text: "This is a test, %cursor%, got it?

Without explicit moving the caret after paste it inside a plain text editor, like notepa..... More

Print this item

  [SOLVED] [Linux] Run Python script through cron?
Posted by: Winfried - Oct-15-2024, 08:37 AM - Forum: General Coding Help - Replies (2)

Hello,

On a Debian host, I need to run a Python script through cron. The script will need to write a file elsewhere on the disk.

I have the foll..... More

Print this item

  Setting up IDE for Python with VS Code - Installing and using an extension
Posted by: TheTiger - Oct-14-2024, 01:49 AM - Forum: GUI - Replies (4)

Hello Python Community

I'm not so new to Python. I went following a tutorial for crud in web app in Python. The issue is I have to install flask. I..... More

Print this item

  locateOnScreen Issues
Posted by: Tio_RaRa - Oct-13-2024, 01:09 PM - Forum: General Coding Help - No Replies

Hello Everyone! This is my first post here, so be gentle. I'm trying to teach myself Python and have almost finished my first "project", but I've ru..... More

Print this item

  What is a faster way to deep copy a nested list without using .deepcopy()?
Posted by: Shervin_Ataeian - Oct-13-2024, 06:33 AM - Forum: General Coding Help - Replies (1)

I have two variables with the following structures:
[python]
# initialization
O1 = [[] for g in range(n)]
for i in range(n):
..... More

Print this item

  Help to fix my Temporizer
Posted by: Mike15 - Oct-12-2024, 10:40 PM - Forum: GUI - Replies (4)

I need help getting my timer to work.

This timer, when started, will have a decreasing time of 2 minutes, and when it reaches time 00:01 it will au..... More

Print this item

  Help with general program structure (OOP?)
Posted by: sin2pi - Oct-11-2024, 08:06 PM - Forum: Code Review - Replies (1)

Hi guys,

I am a student and currently working on a research project. I just want some input on my program design and hopefully someone with more ex..... More

Print this item

  word guessing game, hints
Posted by: STUdevil - Oct-11-2024, 07:54 PM - Forum: General Coding Help - Replies (1)

hello
i struggle hard with this project.
the gamer needs to guess a word and i have figured everything out bur i want to give the gamer some help...... More

Print this item

  Make a list
Posted by: learningpythonherenow - Oct-11-2024, 10:49 AM - Forum: General Coding Help - Replies (1)

Sorry for this format, just trying to figure this out.
i'm trying to take a string including many of (words, numbers, empty spaces, empty lines, multi..... More

Print this item

  [fixed] method overload using np.savetxt
Posted by: paul18fr - Oct-11-2024, 07:16 AM - Forum: Data Science - Replies (3)

Hi all,

In the following example, i'm trying to write numpy arrays having different sizes in a same file. [b][u]The goal is to use inheritance capa..... More

Print this item

  reduce CPU resources when using lot of "requests"
Posted by: kucingkembar - Oct-11-2024, 02:16 AM - Forum: News and Discussions - Replies (1)

hi, sorry for my bad English,
I have this old PC : Intel i5-4460 4x3.20GHz, Windows 11,
I use it for Python-related, including downloading m3u8 file..... More

Print this item

  Difference between tell() and seek(0, 1)
Posted by: tekberg - Oct-10-2024, 08:38 PM - Forum: General Coding Help - Replies (2)

I have a binary file being read from, but unfortunately the file object has no tell method.

As an example, assume the following shell command is ru..... More

Print this item

Exclamation How to get program to loop if input date is in the past?
Posted by: xander_thornton45 - Oct-10-2024, 07:30 PM - Forum: Homework - Replies (3)

I am currently taking a course in college, and they have given me an assignment about fixing the code they have given to me.
For this section I have ..... More

Print this item

  How can I get a programming job?
Posted by: shailesh1234 - Oct-10-2024, 11:00 AM - Forum: News and Discussions - Replies (2)

Help me to get a job in programming

What is the best way to learn programming?

How to get the skills to get into programming?

What is the ..... More

Print this item

  Python 3 advice
Posted by: Shrubbery - Oct-10-2024, 04:39 AM - Forum: General Coding Help - No Replies

Yo get fucked scrolling trash little screens our busty vault bigger city hall, believe. Smacked silly by endless thick racks angry screams clamp meat ..... More

Print this item

  How to enable Matplotlib within virtual environment?
Posted by: tetris_theMovie - Oct-09-2024, 10:08 PM - Forum: General Coding Help - Replies (1)

Cross posted from Linux Mint forum. So far I am unable to get Matplotlib to function i..... More

Print this item

  Help for Tiktok Script
Posted by: Jasson187512 - Oct-09-2024, 08:42 AM - Forum: General Coding Help - No Replies

Does anyone have a Tiktok follower script or can someone make one for me? I felt like I looked all over the internet and couldn't find anything

Print this item

  Stuck on Error
Posted by: parulkuls26 - Oct-09-2024, 04:11 AM - Forum: General Coding Help - Replies (1)

After running the below code

# Fitting the model and running the model for 10 epochs history4 = model4.fit( train_images, train_labels, epochs = 10..... More

Print this item

  [split] Help with my coding
Posted by: happy_nutella - Oct-08-2024, 03:08 PM - Forum: General Coding Help - Replies (1)

[python]material = input("What material is it? ")
length = float(input("What is its length in cm? "))
# Plastic goes into recycling bin.
if materi..... More

Print this item

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: 156)
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: 177)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  why is the image not show... 31 minutes ago sarbogast Axel_Erfurt General Codin...
  New to python and coding 6 hours ago lary_p jefsummers Homework
  Help with Serial.write in... 8 hours ago racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 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... 578859
  Tutorial Requ... 509955
  Web Scraping ... 441923
  Newbie with P... 385931
  New Users Int... 376314
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 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
sarbogast Today
bmurray Today
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday

User Panel Messages

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