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

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 31 Guest(s)
Google, Bing, Facebook Dev, AOL, Google Image

Latest Threads
Sorry Help
Forum: General Coding Help
Last Post: BioNanoTech
1 hour ago
» Replies: 0
» Views: 19
IP address for users
Forum: Networking
Last Post: DeaD_EyE
6 hours ago
» Replies: 6
» Views: 7,150
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
6 hours ago
» Replies: 1
» Views: 49
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,603
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 160
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,612
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 236
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,629
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 202
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 354

 
  Alarm Clock [tkinter]
Posted by: moon - Jul-30-2024, 01:54 PM - Forum: General Coding Help - Replies (5)

Hiya! I'm trying to make an alarm clock as homework however I keep getting this strange error:
[error]
Traceback (most recent call last):
File "C..... More

Print this item

Bug fixpy.py: Automatically Fix Simple Typos in Your .Py
Posted by: johncmd - Jul-30-2024, 10:48 AM - Forum: Code sharing - Replies (4)

Do you find it annoying when your Python fails to run because you forgot a simple colon? You can run fixpy.py as a Python interpreter. It will (e)dit ..... More

Print this item

  Making a launcher application for the .exe made using Pyinstaller --onefile
Posted by: zazas321 - Jul-30-2024, 04:46 AM - Forum: General Coding Help - Replies (9)

Hello. I have been working on my GUI application based on PySide6. My application simply starts:

[code]
if __name__ == "__main__":
app = QApp..... More

Print this item

  expanding dataframes
Posted by: Scott - Jul-30-2024, 01:47 AM - Forum: Data Science - Replies (3)

Hi everyone,

I am looking at getting quarterly data to monthly. For the amounts I want to get the average between the two amounts. Below is an exam..... More

Print this item

Question GLIBC dependency issue
Posted by: mackins - Jul-29-2024, 06:21 PM - Forum: General Coding Help - Replies (1)

I am trying to use the open source toolkit, "Aequitas" (https://github.com/dssg/aequitas). One of the functions from the package has a GLIBC-2.29 depe..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sorry Help 1 hour ago BioNanoTech BioNanoTech General Codin...
  IP address for users 6 hours ago Robots DeaD_EyE Networking
  Check if running from she... 6 hours ago 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... 580463
  Tutorial Requ... 519932
  Web Scraping ... 442795
  Newbie with P... 387009
  New Users Int... 386730
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
arachlmaarley4839 Yesterday
CarlApome Yesterday
JulioLet Yesterday
aellatsz9602 12-30

User Panel Messages

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