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,918
» Latest member: aidajnrz7704
» Forum threads: 38,718
» Forum posts: 175,486

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 40 Guest(s)
Bing, Google, AOL, Apple, AOL, Internet Archive

Latest Threads
data input while debuggin...
Forum: General Coding Help
Last Post: fred1232
1 hour ago
» Replies: 0
» Views: 14
New to Python and Pygame
Forum: Game Development
Last Post: deanhystad
4 hours ago
» Replies: 6
» Views: 1,258
Select Python comment (#)...
Forum: General Coding Help
Last Post: snippsat
8 hours ago
» Replies: 5
» Views: 338
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Today, 06:11 AM
» Replies: 5
» Views: 1,123
New to the field
Forum: News and Discussions
Last Post: Polybunny
Today, 01:31 AM
» Replies: 0
» Views: 99
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Yesterday, 03:23 PM
» Replies: 4
» Views: 2,286
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 11:09 AM
» Replies: 2
» Views: 848
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Yesterday, 08:36 AM
» Replies: 1
» Views: 2,134
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-11-2025, 08:39 PM
» Replies: 6
» Views: 1,497
pip fails to install PyGO...
Forum: General Coding Help
Last Post: Larz60+
Sep-11-2025, 10:50 AM
» Replies: 2
» Views: 1,812

 
  White Screen Issue with Toolbar After Python Installation
Posted by: evelynfreya - Nov-25-2024, 05:02 AM - Forum: General Coding Help - Replies (3)

Hi everyone,

White color screen issue with options like help, license, etc when I install Python on my computer. However, during my course, Python ..... More

Print this item

  Trying to create a simple linear regression module but getting
Posted by: Forrestgump_1980 - Nov-24-2024, 05:41 PM - Forum: Data Science - Replies (1)

Hi all,

I am trying to create a simple linear regression model in python but I am getting an error.

[python]import pandas as pd
import matplot..... More


Attached Files

.csv   HRDataset_v14.csv (Size: 75.06 KB / Downloads: 0)
Print this item

Smile Unable to display Devanagari ligatures correctly in python tkinter
Posted by: Anamika - Nov-24-2024, 08:47 AM - Forum: GUI - Replies (4)

I am trying to display Devanagari (Hindi) text in python3 tkinter. I find that the display of text is incorrect in tkinter for all the widgets capable..... More


Attached Files

Thumbnail(s)
       
Print this item

Question [SOLVED] Why "import foo" + "from foo import bar"?
Posted by: Winfried - Nov-23-2024, 05:09 PM - Forum: General Coding Help - Replies (4)

Hello,

Googling didn't help.

I often see examples that look like this:

import foo
from foo import bar
Why the second lin..... More

Print this item

  Error in the method "count" for tuple
Posted by: fff - Nov-23-2024, 01:15 PM - Forum: General Coding Help - Replies (2)

I just wrote this simple code to count the number of 1 in this tuple. Ironically, it returns 2 instead of 1. I have the last version of Python. Also, ..... More

Print this item

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data input while debuggin... 1 hour ago fred1232 fred1232 General Codin...
  New to Python and Pygame 4 hours ago JMcM deanhystad Game Developm...
  Select Python comment (#)... 8 hours ago SpongeB0B snippsat General Codin...
  I'm trying to make a piec... Today, 06:11 Alislugacool MilesWeb General Codin...
  New to the field Today, 01:31 Polybunny Polybunny News and Disc...
  Seeking feedback: dynamic... Yesterday, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... Yesterday, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... Yesterday, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
  pip fails to install PyGO... 09-11, 10:50 voidtrance Larz60+ General Codin...
  how to manage crypto trad... 09-11, 06:01 Mikeardy Mercyto General Codin...
Most views
  The best Prog... 575405
  Tutorial Requ... 496231
  Web Scraping ... 439517
  Newbie with P... 383115
  New Users Int... 363872
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12086
buran 8174
snippsat 7366
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
aidajnrz7704 Today
Jillscitt Yesterday
Stowersw Yesterday
Intel Yesterday
Gichardaxora Yesterday

User Panel Messages

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