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,433
» Latest member: preethi
» Forum threads: 38,549
» Forum posts: 174,687

Full Statistics

Online Users
There are currently 486 online users.
» 0 Member(s) | 480 Guest(s)
Bing, Yandex, AOL, Mojeek, Google, Baidu

Latest Threads
[Beautiful Soup] How to d...
Forum: General Coding Help
Last Post: snippsat
19 minutes ago
» Replies: 1
» Views: 32
PyVisa Query Command fail...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 1
» Views: 96
Picamera2 commands betwee...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 1
» Views: 117
where should DEFAULT_CIPH...
Forum: General Coding Help
Last Post: snippsat
4 hours ago
» Replies: 8
» Views: 358
CSV reader with PyQt6
Forum: Code sharing
Last Post: suburbanprojects
5 hours ago
» Replies: 2
» Views: 103
what name to give to a ne...
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 09:39 PM
» Replies: 4
» Views: 141
Python script not working...
Forum: Web Scraping & Web Development
Last Post: texwilson47
Yesterday, 07:43 PM
» Replies: 0
» Views: 67
function arguments
Forum: General Coding Help
Last Post: Curbie
Yesterday, 05:23 PM
» Replies: 2
» Views: 210
Eight Queens Problem, err...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 04:22 PM
» Replies: 10
» Views: 669
Automating the CyberGhost...
Forum: General Coding Help
Last Post: surendragupta
Yesterday, 11:10 AM
» Replies: 0
» Views: 81

 
  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 (2)

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
  [Beautiful Soup] How to d... 19 minutes ago Winfried snippsat General Codin...
  PyVisa Query Command fail... 1 hour ago dazz deanhystad General Codin...
  Picamera2 commands betwee... 1 hour ago GigiG deanhystad General Codin...
  where should DEFAULT_CIPH... 4 hours ago Skaperen snippsat General Codin...
  CSV reader with PyQt6 5 hours ago suburbanprojects suburbanprojects Code sharing
  what name to give to a ne... Yesterday, 21:39 Skaperen Skaperen News and Disc...
  Python script not working... Yesterday, 19:43 texwilson47 texwilson47 Web Scraping ...
  function arguments Yesterday, 17:23 Curbie Curbie General Codin...
  Eight Queens Problem, err... Yesterday, 16:22 snl_9527 Gribouillis General Codin...
  Automating the CyberGhost... Yesterday, 11:10 surendragupta surendragupta General Codin...
  White Screen Issue with T... Yesterday, 06:43 evelynfreya encore General Codin...
Most views
  The best Prog... 557412
  Tutorial Requ... 424418
  Web Scraping ... 422924
  Newbie with P... 350982
  Thread remain... 324890
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 325
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12036
buran 8165
snippsat 7324
deanhystad 6808
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
preethi Today
Girbeg35 Today
Anna_Radnor Today
Petitfilspoutine04 Yesterday
texwilson47 Yesterday

User Panel Messages

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