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,562
» Latest member: shreyapatel
» Forum threads: 38,628
» Forum posts: 175,005

Full Statistics

Online Users
There are currently 326 online users.
» 1 Member(s) | 321 Guest(s)
Baidu, Google, Yandex, deanhystad

Latest Threads
How to produce a CPU load...
Forum: General Coding Help
Last Post: Calab
3 hours ago
» Replies: 0
» Views: 34
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Today, 02:47 AM
» Replies: 1
» Views: 101
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Today, 02:23 AM
» Replies: 1
» Views: 92
Webscraping: Attendance L...
Forum: Web Scraping & Web Development
Last Post: Larz60+
Today, 02:20 AM
» Replies: 1
» Views: 90
Convert any Python expres...
Forum: General Coding Help
Last Post: voidtrance
Yesterday, 02:06 PM
» Replies: 0
» Views: 102
ImportError: cannot impor...
Forum: General Coding Help
Last Post: ItsTheGoose
Yesterday, 07:08 AM
» Replies: 11
» Views: 6,201
Port forwarding with frit...
Forum: Networking
Last Post: Mostelf
Yesterday, 04:41 AM
» Replies: 4
» Views: 234
New Users Introduce Yours...
Forum: Bar
Last Post: 2dogs
Jun-15-2025, 03:32 PM
» Replies: 450
» Views: 340,073
course for Python and Pyt...
Forum: News and Discussions
Last Post: 2dogs
Jun-15-2025, 03:15 PM
» Replies: 2
» Views: 786
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-15-2025, 01:52 PM
» Replies: 4
» Views: 212

 
  RuntimeError: threads can only be started once
Posted by: Raysz - Nov-22-2024, 08:24 PM - Forum: General Coding Help - Replies (10)

So I made this very simple tkinter python program

That where you enter start and stop time
and that works perfectly fine

If you reenter a new t..... More

Print this item

  How to make it so whatever I input into a script gets outputted on a different file
Posted by: spermatozwario - Nov-22-2024, 08:19 PM - Forum: General Coding Help - Replies (4)

I am a newbie so please do not judge me, this is not the script its just an example of what it'd be like but I'd just like to get the understanding
[..... More

Print this item

  Numpy: repeat cells variable number of times
Posted by: paul18fr - Nov-22-2024, 06:34 PM - Forum: Data Science - No Replies

Hi

In the following snippet, each cell of CellsToDuplicateVariableTimes is repeated the number of times defined in [inline]Number..... More

Print this item

  Looking for a start to GUI for DB maintenance
Posted by: jehoshua - Nov-22-2024, 05:44 AM - Forum: GUI - Replies (7)

I currently use an OpenOffice spreadsheet for budgeting and cash flow purposes. It has many sheets to 'drive' the main ones. It is for cash flow on a ..... More

Print this item

  what is solution to save and reload a object?
Posted by: eue - Nov-22-2024, 03:06 AM - Forum: General Coding Help - Replies (4)

Dilemma:
In my program, one of my function needs to use a object from past session. However, when session ends, the object is cleared along wit..... More

Print this item

  invaders in new game wandering
Posted by: Oversizewizard - Nov-21-2024, 04:39 PM - Forum: General Coding Help - Replies (1)

hi everyone.

jst new to python and i written a few apps for my phone but im giving gaming a go.

trying to code a simple invaders game as practic..... More

Print this item

  Sensei: Simplifying API Client Generation
Posted by: blnkoff - Nov-20-2024, 02:35 PM - Forum: Code sharing - No Replies

[Image: bookmark_transparent.svg]

Sensei simplifies the p..... More

Print this item

  Selenium - Error writing in field
Posted by: brunox96 - Nov-20-2024, 02:03 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi everyone,

I’m working on a script that clicks on a field and writes data from a DataFrame. The click seems to work fine because the cursor appears..... More

Print this item

  Get an FFMpeg pass to subprocess.PIPE to treat list as text file?
Posted by: haihal - Nov-20-2024, 06:17 AM - Forum: General Coding Help - Replies (2)

The following FFMpeg command will import a text file to concatenate/join said file together:
`ffmpeg -f concat -safe 0 -i "list_Of_Videos.txt" -c co..... More

Print this item

  parsing a tree of text first the right most aligned blocks of text and so on
Posted by: arvindikchari - Nov-18-2024, 11:57 AM - Forum: General Coding Help - Replies (2)

Hi

I have a tree / table of contents

[python]Cover 0
0 Copyright 0
0 Credits 0
0 About the Authors 0
0 About the Re..... More

Print this item

  SQLModel vs SQLAlchemy
Posted by: Dummkopf - Nov-18-2024, 01:55 AM - Forum: General Coding Help - Replies (2)

Hey everyone, I was wondering whether the current releases of SQLModel is appropriate for production? Couldn’t find a recent post about this I’m tryin..... More

Print this item

  Simple "youtube downloader" doesn't download
Posted by: LHudson - Nov-17-2024, 08:00 PM - Forum: GUI - Replies (6)

Ok then,

A bit scared to post a question after reading the rules, hope I don't break any of them. Anyhow I am new to python although I do know a l..... More

Print this item

  Can't install Python 3.3.0
Posted by: Kipsley - Nov-17-2024, 11:45 AM - Forum: News and Discussions - Replies (2)

I have an old (Mid 2012) Mac Pro running Mojave 10.14.6 and have just installed a version of Qbittorrent. Trouble there is that the search engine in Q..... More

Print this item

  GPIO Bug?
Posted by: Rchrd - Nov-15-2024, 07:25 PM - Forum: General Coding Help - Replies (6)

I am hoping someone can me tell why the following line of code causes the program to freeze up (stop exciting).

[python]# Tell the controller to e..... More

Print this item

  python3.9 auto_ossec issue
Posted by: jwdvd - Nov-15-2024, 04:36 PM - Forum: General Coding Help - Replies (2)

Hi all,

last resort for me trying to resolve an issue. been using ossec, and auto_ossec on centos 8 for ages, with python 3.6.8. centos8 is EOL,..... More

Print this item

  SSL Handshake Failure with Python 3.11 and 3.12
Posted by: Samanth_m - Nov-15-2024, 03:34 PM - Forum: General Coding Help - No Replies

Hi everyone,

I'm encountering an SSL handshake failure when upgrading my Python application from versions 3.8 and 3.9 to 3.11 and 3.12. The server ..... More

Print this item

  The solution is probably simple, but I'm stuck, as an amateur is
Posted by: Wookie7602 - Nov-13-2024, 03:19 PM - Forum: General Coding Help - Replies (3)

A simple script to play a movie:
[python]import pygame
import moviepy.editor

pygame.init()
screen = pygame.display.set_mode((1000,500))

clock..... More

Print this item

Photo the python using issue,please help to check what is wrong with it
Posted by: Beginner_ - Nov-13-2024, 03:16 PM - Forum: General Coding Help - Replies (1)

Hi all,

it is unusual to use python to install some modules in pip. the below is the issue photo:

when i type the command line: py -m pip in..... More

Print this item

  simple if fail, what am I missing?
Posted by: ajkrueger25 - Nov-12-2024, 11:31 PM - Forum: General Coding Help - Replies (2)

[python]solution = 7
answer = input ("What is 5 + 2?")
if answer == solution:
print("You are correct!")
print (f"Your answer was {answer}")..... More

Print this item

  Trouble With Errors
Posted by: the_disappointer - Nov-11-2024, 10:33 PM - Forum: General Coding Help - Replies (1)

Hi Guys, I'm working on a pygame 0 project and I am getting constant errors and I don't know why. I'm coding on mu and all of the images are in the ri..... More


Attached Files

.py   Starship.py (Size: 5.14 KB / Downloads: 116)
Print this item

  [split] Catch all cookies from any website
Posted by: deep2003565555 - Nov-11-2024, 07:54 PM - Forum: Web Scraping & Web Development - No Replies

i am Unable to use chrome profile session using selenium webdriver on render deployment in my local machine its properly working for my chrome path bu..... More

Print this item

  my code is not working
Posted by: erTurko - Nov-11-2024, 08:40 AM - Forum: General Coding Help - Replies (1)

I tried another solution, but it didnt work.
[img]file:///C:/Users/pc/OneDrive/Pictures/Screenshots/Ekran%20g%C3%B6r%C3%BCnt%C3%BCs%C3%BC%202024-11-1..... More

Print this item

Question [split] How to ask Smart Questions (thread title expansion)
Posted by: darkuser - Nov-11-2024, 07:48 AM - Forum: General Coding Help - Replies (4)

Hi. I'm trying to use semicolon for execute two command on one line but this is the result. Can anyone explain why?
[output]>>> a=4
>>> b=5
>>> a;b..... More

Print this item

  I have a problem with the IF Statement
Posted by: chlyde01 - Nov-11-2024, 02:29 AM - Forum: General Coding Help - Replies (3)

[python]
colors1=[ ]
colors2=[ ]
colors3=[ ]
for i in range(0,49):
if colors1[ i ]==chooseTerm:
..... More

Print this item

  GPIOzero Newbe Question
Posted by: Rchrd - Nov-10-2024, 03:33 PM - Forum: General Coding Help - No Replies

If I may be so bold to ask is the following code is proper GIOzero code?

[python]import RPi.GPIO as GPIO
from tkinter import *
from tkinter impo..... More

Print this item

  I cannot create a virtual environment on visual studio code using python
Posted by: Willem_Aucamp316 - Nov-10-2024, 10:58 AM - Forum: General Coding Help - Replies (2)

Hello everyone, I am completely new and just wanted to start a virtual environment using python on visual studio code. After opening a new terminal I ..... More

Print this item

  Still difficulties using oop
Posted by: paul18fr - Nov-10-2024, 09:58 AM - Forum: General Coding Help - Replies (3)

Hi,

I'l trying to use oop, but some stufs remain still unclear for me, both in practice and in "thinking" oop.

The following test is quite basic..... More

Print this item

  Problem with pathlib ?
Posted by: Ota - Nov-10-2024, 07:12 AM - Forum: General Coding Help - Replies (3)

I have trouble while using the pathlib. Statement: mypath = pathlib.Path(sys.argv[0]).parent works fine on Windows (Python 3...... More

Print this item

  Regarding The For Loop
Posted by: Hudjefa - Nov-10-2024, 05:30 AM - Forum: General Coding Help - Replies (5)

for i in range(2):
    print("Hello")
I'd like some help regarding how this actually works.
Here's what I think is going on:

..... More

Print this item

  Annotating live tkinter graph with matplotlib annotations
Posted by: joeypyro - Nov-09-2024, 06:28 PM - Forum: GUI - Replies (1)

    Hi, this is my first post, I can assure you I have blown up ChatGpt to get this figured out, and tried some tutorials without this co..... More

Print this item

  sending strings to arduino over serial/accessing DLLs
Posted by: HeWhoHas - Nov-09-2024, 06:01 PM - Forum: General Coding Help - No Replies

Hello there,
I have been undergoing a personal project for a while, involving sending 6 separate strings to an Arduino over serial communication. I c..... More

Print this item

Big Grin New Log system using SQLite!
Posted by: StegoDandy - Nov-09-2024, 12:15 AM - Forum: Code Review - No Replies

I'm new to coding, and I'm self taught. recently, I made a sort of log database system using SQLite. I'm very proud that i got it to work, but I'm als..... More

Print this item

Smile Print Mystery
Posted by: Rchrd - Nov-08-2024, 03:53 PM - Forum: General Coding Help - Replies (3)

This is my first thread, so please excuse my newbie errors and mistakes Blush Blush
The first print works just fine, but the second print c..... More

Print this item

  print/save on pdf
Posted by: starwhale - Nov-08-2024, 12:12 PM - Forum: General Coding Help - Replies (3)

hi. i'm rookie in python programming and, yes, i'm pretty rough in code writing (in english writing also).
so: i need to modify a large number of pdf..... More

Print this item

  Help on tkinter module
Posted by: upendra - Nov-08-2024, 09:46 AM - Forum: General Coding Help - Replies (8)

HI Team,

As am unable to run python code in both google colabs and Visual studio, getting below error tried all basic trouble shooting which has no..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to produce a CPU load... 3 hours ago Calab Calab General Codin...
  Setting AST node lineno c... Today, 02:47 voidtrance deanhystad General Codin...
  Venv - Python Virtual Env... Today, 02:23 DanneA Larz60+ General Codin...
  Webscraping: Attendance L... Today, 02:20 ThatsMe Larz60+ Web Scraping ...
  Convert any Python expres... Yesterday, 14:06 voidtrance voidtrance General Codin...
  ImportError: cannot impor... Yesterday, 07:08 Anldra12 ItsTheGoose General Codin...
  Port forwarding with frit... Yesterday, 04:41 timonick Mostelf Networking
  New Users Introduce Yours... 06-15, 15:32 Yoriz 2dogs Bar
  course for Python and Pyt... 06-15, 15:15 anjali 2dogs News and Disc...
  How do select this table ... 06-15, 13:52 MarkMan snippsat Web Scraping ...
  Predicitve Maintenance Pr... 06-14, 23:00 dannyg DeaD_EyE General Codin...
Most views
  The best Prog... 572196
  Tutorial Requ... 484698
  Web Scraping ... 436758
  Newbie with P... 379591
  Thread remain... 351208
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 7335
deanhystad 6836
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
shreyapatel Today
Kamax439 Today
nascenture Today
Markrus011 Yesterday
DanneA Yesterday

User Panel Messages

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