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,575
» Latest member: Zefin7
» Forum threads: 38,632
» Forum posts: 175,026

Full Statistics

Online Users
There are currently 437 online users.
» 1 Member(s) | 432 Guest(s)
Bing, Google, Baidu, Yandex, Pedroski55

Latest Threads
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
5 minutes ago
» Replies: 3
» Views: 118
[split] Simple webbot for...
Forum: Code Review
Last Post: Larz60+
4 hours ago
» Replies: 2
» Views: 79
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Yesterday, 03:37 AM
» Replies: 2
» Views: 110
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Jun-18-2025, 09:15 PM
» Replies: 4
» Views: 213
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-18-2025, 03:52 PM
» Replies: 7
» Views: 273
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Jun-18-2025, 06:40 AM
» Replies: 4
» Views: 987
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Jun-18-2025, 04:47 AM
» Replies: 1
» Views: 96
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Jun-18-2025, 02:19 AM
» Replies: 2
» Views: 125
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jun-17-2025, 02:23 AM
» Replies: 1
» Views: 138
Webscraping: Attendance L...
Forum: Web Scraping & Web Development
Last Post: Larz60+
Jun-17-2025, 02:20 AM
» Replies: 1
» Views: 111

 
  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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Dynamic Module Import Err... 5 minutes ago DaddyMAN Pedroski55 General Codin...
  [split] Simple webbot for... 4 hours ago AB073 Larz60+ Code Review
  What Are the Most Overloo... Yesterday, 03:37 shreyapatel Plyth News and Disc...
  Setting AST node lineno c... 06-18, 21:15 voidtrance deanhystad General Codin...
  How do select this table ... 06-18, 15:52 MarkMan snippsat Web Scraping ...
  Wish to write a code for ... 06-18, 06:40 Hasan2025 Hasan2025 General Codin...
  I have a question 06-18, 04:47 Clictithe Pedroski55 General Codin...
  How to produce a CPU load... 06-18, 02:19 Calab Plyth General Codin...
  Venv - Python Virtual Env... 06-17, 02:23 DanneA Larz60+ General Codin...
  Webscraping: Attendance L... 06-17, 02:20 ThatsMe Larz60+ Web Scraping ...
  Convert any Python expres... 06-16, 14:06 voidtrance voidtrance General Codin...
Most views
  The best Prog... 572254
  Tutorial Requ... 484752
  Web Scraping ... 436798
  Newbie with P... 379622
  Thread remain... 351214
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+ 12067
buran 8173
snippsat 7337
deanhystad 6838
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Zefin7 Today
Donaldabani Yesterday
linnchinnn Yesterday
crobertson Yesterday
PeterBoowl Yesterday

User Panel Messages

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