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,920
» Latest member: RonR
» Forum threads: 38,719
» Forum posts: 175,487

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 30 Guest(s)
AOL, Bing, Facebook, AOL, Google

Latest Threads
New to the field
Forum: News and Discussions
Last Post: Larz60+
2 hours ago
» Replies: 1
» Views: 160
Too much space between gr...
Forum: GUI
Last Post: deanhystad
7 hours ago
» Replies: 1
» Views: 160
New to Python and Pygame
Forum: Game Development
Last Post: deanhystad
8 hours ago
» Replies: 6
» Views: 1,459
data input while debuggin...
Forum: General Coding Help
Last Post: Pedroski55
10 hours ago
» Replies: 1
» Views: 179
Select Python comment (#)...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 01:34 PM
» Replies: 5
» Views: 483
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Yesterday, 06:11 AM
» Replies: 5
» Views: 1,271
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Sep-12-2025, 03:23 PM
» Replies: 4
» Views: 2,330
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 978
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Sep-12-2025, 08:36 AM
» Replies: 1
» Views: 2,242
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-11-2025, 08:39 PM
» Replies: 6
» Views: 1,676

 
  RimWorld Save Game Manager- Help!
Posted by: LastStopDEVS - Jul-27-2024, 08:55 PM - Forum: General Coding Help - Replies (2)

Hello, I was writing a script for a program to help me and my family on the computer with our RimWorld saves. We all share the computer and I am the o..... More

Print this item

  help with a script that adds docstrings and type hints to other scripts
Posted by: rickbunk - Jul-26-2024, 03:00 PM - Forum: General Coding Help - Replies (1)

Hi,

I've built a script, initially for my own use but I've made it public on github in case anyone else can use it, to go through python scripts an..... More

Print this item

  "Random" module is not working as expected
Posted by: Genericgamemaker - Jul-25-2024, 04:16 PM - Forum: General Coding Help - Replies (1)

So I'm trying to make a spaceship fly around on the screen with stars twinkling in the backround. When I went to test the stars, I was told that I did..... More

Print this item

  Help with plotting a piecewise function
Posted by: kahless96 - Jul-25-2024, 10:20 AM - Forum: General Coding Help - Replies (1)

Hello, I am trying to plot a peicewise function but I get an error (ValueError: The truth value of an array with more than one element is ambiguous.) ..... More

Print this item

Bug Python 3.12 cannot import local python files as modules
Posted by: sunflowerdog - Jul-25-2024, 07:43 AM - Forum: General Coding Help - Replies (25)

On a recent installation of Windows 10 I installed Python 3.12, things seemed to be working fine until I had difficulties importing other files. Which..... More

Print this item

  classes question
Posted by: DPaul - Jul-25-2024, 07:37 AM - Forum: Bar - Replies (4)

I have been developing an app for retrieving records from a database (SQL, tkinter, windows).
Over time I have externalised 8 functions into 8 classe..... More

Print this item

  tkinter install broken?
Posted by: kwolfe81 - Jul-24-2024, 10:24 PM - Forum: GUI - Replies (9)

I cannot use tkinter on my Windows install. Even the most basic example fails in the same way:

[code]>>> from tkinter import *
>>> Window = Tk()..... More

Print this item

  little space invaders / breakout game
Posted by: flash77 - Jul-24-2024, 08:56 PM - Forum: Game Development - No Replies

Dear deanhystad,

Thank you so much for your tireless, patient support!!

The game is now finished and I can give it to a friend for his 50th birt..... More

Print this item

  Pycharm can't read file
Posted by: Genericgamemaker - Jul-24-2024, 04:25 PM - Forum: General Coding Help - Replies (5)

Pycharm can't read a file (which is in the directory), and it gives me the error message "FileNotFoundError: No file 'images.png' found in working dir..... More

Print this item

  ssl.SSLEOFError: EOF occurred in violation of protocol
Posted by: robertkwild - Jul-24-2024, 10:33 AM - Forum: General Coding Help - Replies (1)

hi all,

ive made a flask-wtf web form and in the console sometimes, i sometimes get this error

[python]
ssl.SSLEOFError: EOF occurred in violation o..... More

Print this item

  Playing a video in tkinter
Posted by: moon - Jul-23-2024, 04:18 PM - Forum: General Coding Help - Replies (10)

Hi, I've been trying to simply play a video in python using the python GUI. So far, it has been working as intended and the video has been playing fin..... More

Print this item

  Help with Python Installation
Posted by: mariamasud - Jul-23-2024, 12:13 PM - Forum: Homework - Replies (1)

Hello,

I have recently tried to install Python Version 3.12 on my laptop. I could see through command prompt that it was installed successfully.
H..... More


Attached Files

Thumbnail(s)
   
Print this item

  Learning from Grokking Algorithms
Posted by: Zepher - Jul-23-2024, 07:28 AM - Forum: General Coding Help - Replies (4)

Hello all

I'm trying to learn algorithms from Grokking Algorithms by Aditya Y. Bhargava, but when I write the code, it doesn't show the same result..... More

Print this item

  Search and URL Copy Automation
Posted by: BUG - Jul-22-2024, 03:51 PM - Forum: Web Scraping & Web Development - No Replies

Is it possible to search for a text file on YouTube and copy the URL information? I want to make an automation.

Example;

Text Document Content :..... More

Print this item

  How can I upload a .gz file to the Swift Object Storage using Python swift client?
Posted by: Hanginium65 - Jul-22-2024, 01:07 PM - Forum: General Coding Help - No Replies

I wrote the Python code to upload the .gz file from my local machine to the OpenStack object store using the following documentation: https://docs.ope..... More

Print this item

  Webscraping - loop on first page
Posted by: RikP - Jul-22-2024, 12:15 PM - Forum: Web Scraping & Web Development - No Replies

I need some help with this code. It always returns the same (first) page over and over again instead of going to the next page. I can't figure out why..... More

Print this item

  Working with dates in pandas
Posted by: Scott - Jul-21-2024, 10:08 PM - Forum: General Coding Help - Replies (13)

Hi everyone,

I am having a confusing issue in pandas which I'll highlight in the code below. You'll need to update the path to your own one. You ca..... More

Print this item

  Loop problem
Posted by: Milczek - Jul-21-2024, 05:35 PM - Forum: Homework - Replies (1)

Hi, I'm starting learning Python and there is a task in which I've found a problem and I hope somebody could help me:
The task is to check whether nam..... More

Print this item

  Product Image Download Help Required
Posted by: pythonustasi - Jul-20-2024, 06:35 PM - Forum: General Coding Help - Replies (5)

Hi everyone, since I love python language very much, I am constantly experimenting and this time I am trying to make a new experiment, I have been res..... More

Print this item

  Trying to help my daughter with homework!!
Posted by: AdamB1978 - Jul-20-2024, 03:06 PM - Forum: Homework - Replies (9)

Hello

My daughter is in year 7 (12 years old) and has just done her first year of computing at school, however her teacher is pretty useless so we'..... More

Print this item

  Storing data in readable place
Posted by: user_404_lost_and_found - Jul-20-2024, 01:24 AM - Forum: General Coding Help - Replies (4)

Greetings,

I am loading in my chosen files of a special format from a folder I read in and then converted these files to dataframes. I want to stor..... More

Print this item

  how to log ip addresses in loguru
Posted by: robertkwild - Jul-19-2024, 05:09 PM - Forum: General Coding Help - Replies (2)

Hi all,

I want to keep track in the logs as well as time message level etc, I want to log down the clients ip address

Is this possible

Thanks..... More

Print this item

  Making a payroll class
Posted by: zimmytheflygirl - Jul-19-2024, 02:46 PM - Forum: Homework - Replies (22)

Who is up for some fun? I am on my final project and need to try and not make a C on this project.
Here is the assignment (see attachment) since I..... More


Attached Files

Thumbnail(s)
   
Print this item

  Python is unable to read file
Posted by: Genericgamemaker - Jul-18-2024, 08:06 PM - Forum: General Coding Help - Replies (13)

So I'm pretty new to coding and I've spent the past two days on a tutorial for making a simple game using pygame because of multiple issues I have had..... More

Print this item

  Why doesn't this image downloader work?
Posted by: noob0dy - Jul-18-2024, 07:50 PM - Forum: Web Scraping & Web Development - Replies (2)

This is my code for now:

[python]
import requests
from bs4 import BeautifulSoup

def getdata(url):
r = requests.get(url)
return r.tex..... More

Print this item

  Windows Disk Cleanup Code Help Needed
Posted by: nal2us2 - Jul-17-2024, 08:58 PM - Forum: General Coding Help - Replies (3)

Hi all.

I am trying to generate Python code to do the following:
Access the Windows Disk Cleanup program and clear out the regular and system file..... More

Print this item

  API URL Help
Posted by: tturner2304 - Jul-17-2024, 06:56 PM - Forum: General Coding Help - Replies (2)

hi. at the end of an api i am using, if i want to do an offset to collect more data after say 100 record, it require ",+100" to be added to the end of..... More

Print this item

  Chatbot database RAG
Posted by: thiagomendes - Jul-17-2024, 04:44 PM - Forum: Data Science - Replies (3)

I am currently developing a chatbot to interact with an already existing database that is coded in MySql. As for the framework, I am using django and ..... More


Attached Files

.txt   full_code.txt (Size: 19.76 KB / Downloads: 1)
Print this item

  Writing to two different serial ports independent of each other
Posted by: Aggie64 - Jul-16-2024, 03:48 PM - Forum: General Coding Help - Replies (6)

I have a Python program in which I am trying to write to two different serial displays
I define port1 and port2 as shown below:
[python]
port1=seri..... More

Print this item

  how to retrieve sets of data
Posted by: paul18fr - Jul-16-2024, 08:56 AM - Forum: Data Science - Replies (7)

Hi,

As one can see in the picture, i'm trying to retrieve sets of data (V array : 1 row = 1 set) into M array.

Note data "..... More


Attached Files

Thumbnail(s)
   
Print this item

  Closing Web Browser
Posted by: rdwessex - Jul-16-2024, 07:30 AM - Forum: General Coding Help - Replies (5)

Hi. I'm very new to Python coding. This is my code (attached).

import webbrowser
url = ""https://newholland.com"
webbrowser.open(url)

How do I..... More


Attached Files

Thumbnail(s)
   
Print this item

Question How to get calling directory?
Posted by: franklin97355 - Jul-16-2024, 04:01 AM - Forum: General Coding Help - Replies (4)

Is there a way to get the calling directory in Python? I want to have the program in one spot and call it from more than one spot. The program and Pyt..... More

Print this item

  Pandas ExcelWriter path name rejected
Posted by: morningglory - Jul-15-2024, 06:36 PM - Forum: General Coding Help - No Replies

I am trying to make devs aware of issue I ran into.
Basically, `pd.ExcelWriter(output_path+'\\'+'HiT Nano battery title info2.xlsx',engine='xlsxwrit..... More

Print this item

  API Loop Help
Posted by: tturner2304 - Jul-15-2024, 06:25 PM - Forum: General Coding Help - Replies (1)

Hi All

Firstly i am a complete beginner to Python (2 Weeks), but have experience in other languages.
I have the following piece of code which i am..... More

Print this item

  Exploring Content Marketing's Impact on UK Businesses
Posted by: IslaBrown - Jul-15-2024, 10:04 AM - Forum: Web Scraping & Web Development - No Replies

As I explore ways to enhance my business's growth, I'm curious about the potential impact of content marketing specifically in the UK market. How have..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to the field 2 hours ago Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... 7 hours ago RonR deanhystad GUI
  New to Python and Pygame 8 hours ago JMcM deanhystad Game Developm...
  data input while debuggin... 10 hours ago fred1232 Pedroski55 General Codin...
  Select Python comment (#)... Yesterday, 13:34 SpongeB0B snippsat General Codin...
  I'm trying to make a piec... Yesterday, 06:11 Alislugacool MilesWeb General Codin...
  Seeking feedback: dynamic... 09-12, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 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...
Most views
  The best Prog... 575495
  Tutorial Requ... 496438
  Web Scraping ... 439595
  Newbie with P... 383197
  New Users Int... 364136
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+ 12087
buran 8174
snippsat 7366
deanhystad 6892
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
RonR Yesterday
SofiaAnatolie Yesterday
Erikventura Yesterday
aidajnrz7704 Yesterday
Jillscitt 09-12

User Panel Messages

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