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,418
» Latest member: arturioworker
» Forum threads: 38,542
» Forum posts: 174,657

Full Statistics

Online Users
There are currently 479 online users.
» 0 Member(s) | 474 Guest(s)
Bing, Yandex, Apple, Google

Latest Threads
where should DEFAULT_CIPH...
Forum: General Coding Help
Last Post: Larz60+
10 hours ago
» Replies: 1
» Views: 135
I am sending messages usi...
Forum: General Coding Help
Last Post: Hendrikb
10 hours ago
» Replies: 0
» Views: 66
Get the string after a sp...
Forum: General Coding Help
Last Post: Gribouillis
Today, 07:19 AM
» Replies: 2
» Views: 147
function arguments
Forum: General Coding Help
Last Post: Gribouillis
Today, 06:48 AM
» Replies: 1
» Views: 119
[Beautiful Soup] Replace ...
Forum: General Coding Help
Last Post: Winfried
Today, 05:45 AM
» Replies: 1
» Views: 155
how to delete thread
Forum: Board
Last Post: DeaD_EyE
Yesterday, 07:30 PM
» Replies: 4
» Views: 278
Atari Ping Pong Game
Forum: Code sharing
Last Post: deanhystad
Yesterday, 05:04 PM
» Replies: 1
» Views: 159
not running
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:08 PM
» Replies: 2
» Views: 263
[split] How to continue c...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:02 PM
» Replies: 1
» Views: 135
Web Scraping / API
Forum: Jobs
Last Post: deepvyas
Yesterday, 01:40 PM
» Replies: 2
» Views: 470

 
  How can I create an animation like this?
Posted by: FoxoR - Jan-22-2025, 08:54 PM - Forum: General Coding Help - Replies (2)

Hello everyone, I hope you're doing well. While browsing YouTube, I came across a channel like this: https://www.youtube.com/@SatisfyingBounceBalls/sh..... More

Print this item

  Run this once instead of a loop, do I need the 'calibration' steps?
Posted by: duckredbeard - Jan-22-2025, 01:20 PM - Forum: General Coding Help - Replies (2)

I am running this code to measure the weight of a water jug. All is working but I expect that I might have issues if the internet is interrupted when..... More

Print this item

  renaming a column without a name in a dataframe
Posted by: Carbonpony - Jan-22-2025, 09:09 AM - Forum: General Coding Help - Replies (2)

I've got the following data (see attachement) from a testing rig and can't change the output I get.
I want to name the first column, but can't figure..... More


Attached Files

Thumbnail(s)
   

.csv   Inputfile.csv (Size: 236 bytes / Downloads: 54)
Print this item

  working with pivot table
Posted by: gunther - Jan-22-2025, 08:51 AM - Forum: General Coding Help - Replies (1)

Hello,

can anyone help me, how to work with a pivottable.
How can I access rows and columns in a pivottable?

For example in the attached pivot ..... More


Attached Files

Thumbnail(s)
   
Print this item

  os.open and os.fdopen on windows
Posted by: deanhystad - Jan-21-2025, 08:30 PM - Forum: General Coding Help - Replies (5)

I think I've run into a problem with python locking files that were opened using open(). This happens one Windows 10

I am trying to pass informati..... More

Print this item

  dataframe merge
Posted by: gunther - Jan-21-2025, 03:44 PM - Forum: General Coding Help - Replies (2)

hello, i am a little bit frustrated with merge.

I habe two tables:

PZN | Name | Anzahl
1234 | Aspirin | 1
2345 | Mexalen | 2
4567 | Sinupre..... More

Print this item

  help to boot application on computer startup
Posted by: jacksfrustration - Jan-21-2025, 02:12 PM - Forum: General Coding Help - Replies (3)

ok so i already googled it and found this article
i followed the..... More

Print this item

  to do app help
Posted by: jacksfrustration - Jan-21-2025, 01:31 PM - Forum: General Coding Help - Replies (3)

basically im trying to build a to do app. i want to create a GUI app that shows the current month and every day is a button that opens a new GUI with ..... More

Print this item

Sad not able to solve installation of peewee and yfinance
Posted by: MacShrike - Jan-21-2025, 01:38 AM - Forum: General Coding Help - No Replies

Ls,

Was chatting with chatGpt (yes, that lonely) about using the yfinance module(Yahoo). But I seem not to be able to install the required stuff.
..... More

Print this item

  Tutorial Submission: An introduction to Python in the age of generative AI.
Posted by: computerprogrammingart - Jan-20-2025, 07:14 AM - Forum: Tutorial Requests and Submissions - Replies (1)

I made this tutorial-website (free, no subscription, ads or anything) and I am desperate for some feedback... :-)

https://computerprogramming.art/..... More

Print this item

  Removing an object from a graphic window
Posted by: guziakj - Jan-19-2025, 07:23 PM - Forum: Homework - Replies (1)

Good day, I'm attempting to help with an assignment. The school uses TechSmart. I was able to help with a couple of things, but this has us both stu..... More

Print this item

  Check time within specific time ranges
Posted by: basvdm - Jan-19-2025, 06:33 PM - Forum: General Coding Help - Replies (3)

Hello,

I got the following case:

time slots:

From. To. Multiplier
9:00 19:59 1
20:00 21:59 2
22:00 23:59 3
0:00 6:59 4
7:00 ..... More

Print this item

  Any way to speed up canvas itemconfigure (tkinter)
Posted by: Klapek123 - Jan-19-2025, 05:04 PM - Forum: General Coding Help - No Replies

So I'm creating a replication of The Game of Life on tkinter and with that come a lot of cells. So I was wondering if there is any way to speed up con..... More

Print this item

  problems with a robotic manipulator GUI
Posted by: Helios - Jan-18-2025, 04:03 PM - Forum: GUI - No Replies

Hi to all,
I have a problem with an application for collecting blocks in the shape of a parallelepiped, colored red, green and blue with a robotic ma..... More

Print this item

  float object can't be interpreted as an integer
Posted by: t23 - Jan-18-2025, 02:59 PM - Forum: General Coding Help - Replies (2)

I was working on a program to make the classic snake game, where the snake goes around eating and growing longer, but every time i try to run it it cl..... More

Print this item

  Checking for particular letter in python
Posted by: alicegoody - Jan-18-2025, 12:53 PM - Forum: Homework - Replies (3)

I am trying to limit a user's input to either the letter y or n. I am using this code. However, even when I enter n or y it still loops. I would appre..... More

Print this item

Question Coding
Posted by: RxinlDed - Jan-17-2025, 10:50 AM - Forum: General Coding Help - Replies (1)

This is my current code ive started coding again as i stopped for a few years due to mental health ive searched but cant find how to end a quiz when m..... More


Attached Files

.py   Quiz Creation testers.py (Size: 1.01 KB / Downloads: 52)
Print this item

  Best option to implement parallel computing for hardware control and GUI?
Posted by: pythoneer321 - Jan-17-2025, 08:47 AM - Forum: GUI - Replies (1)

I have a python script that reads frames from an industrial camera, processes the images, and after that sends control signals to actuators inside the..... More

Print this item

  Website bug
Posted by: Mike88 - Jan-17-2025, 03:42 AM - Forum: Board - Replies (1)

There have been a number of spam posters recently, which I have reported to the moderator. And I have noticed that after the "report post" or "report..... More

Print this item

Star how to split pdf under 10mb using python
Posted by: skchui9786 - Jan-17-2025, 01:04 AM - Forum: General Coding Help - Replies (4)

If I have 70 mb pdf, Can I split all pdf under 10mb in a folder.the suffix under part 1, part 2.....

Print this item

  Threads problem
Posted by: svalencic - Jan-16-2025, 04:25 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

I have an issue at running Threads code from this example https://www.youtube.com/watch?v=A_Z1lgZL...LL&index=7 at time 4.20..... More

Print this item

  Generators don't work
Posted by: svalencic - Jan-16-2025, 11:54 AM - Forum: General Coding Help - Replies (7)

Hi all,

I'm trying to use generators, however using "print(next(gen))" doesn't print anything, I obtain just "Process finished with exit code 0". H..... More

Print this item

  Need Advice on GRE Prep
Posted by: kennethkane - Jan-16-2025, 10:40 AM - Forum: Bar - No Replies

Its been harder than I thought to prepare for the GR and I am looking at every avenue to raise my score. To be honest, I'm not sure how to interpret t..... More

Print this item

  Execute a Python script from a PHP web page
Posted by: liderbug - Jan-15-2025, 05:32 PM - Forum: Web Scraping & Web Development - Replies (4)

I have a Python script (python-kasa). From the command line: kasa --host ipadd on
works fine. In my php web page I can "exec ('a program', $results..... More

Print this item

  Converting ipynb to html PLEASE HELP
Posted by: Bartlo_fi - Jan-15-2025, 12:37 PM - Forum: General Coding Help - No Replies

Everything runs okay until here! I have to finish it today!!!

PLEASE HELP!

Load the GeoJSON file, containing geographic data for countries
map_..... More

Print this item

  QR code creation with image
Posted by: Raja31 - Jan-15-2025, 06:03 AM - Forum: General Coding Help - Replies (1)

I am trying to create QR code for the image , the result should be, after scanning the QR it should display image. The error message in QR generatio..... More

Print this item

  Error loop with Chatgpt
Posted by: sportak12 - Jan-14-2025, 12:04 PM - Forum: General Coding Help - No Replies

Hi all, sorry in advance for the "dumb" question, but I was trying to create a simple script for web scraping contacts from government sites.
I have ..... More

Print this item

  help to parser arguments list
Posted by: absolut - Jan-13-2025, 10:33 PM - Forum: General Coding Help - Replies (3)

Hi!
In my python I need to parse the argument list like these:
[python]"call_type: "I" alert_id: "101 " data_center: "TOTAL " memname: " " order_id:..... More

Print this item

  Feedback Requested: A Collection of Rock-Paper-Scissors Implementations
Posted by: JamzTyson - Jan-13-2025, 05:39 PM - Forum: Code Review - No Replies

Hi everyone, this is my first post to python-forum.io,

I’ve been working on a project that I’d love to get your feedback on! It’s a collection of f..... More

Print this item

  WinError 10061 with socket
Posted by: absolut - Jan-13-2025, 08:25 AM - Forum: General Coding Help - Replies (4)

Hi,
I'm trying to create a socket with python:
Mi server.py:
[python]import socket

serversocket = socket.socket(socket.AF_INET, socket.SOCK_STRE..... More

Print this item

  Installing PyQt5
Posted by: 357mag - Jan-12-2025, 11:25 PM - Forum: GUI - Replies (1)

I've seen videos on YouTube where PyQt5 is being installed through the command line. I have an installer that when I double-click on it a screen opens..... More

Print this item

  pass arguments from bat file to pyhon script from application
Posted by: absolut - Jan-12-2025, 10:53 PM - Forum: General Coding Help - Replies (2)

Hi

I have an application that allows me execute a bat file. I can't execute a python file.

I need to pass the arguments of the application to py..... More

Print this item

  Syntax for Doubling a number
Posted by: ksp_802 - Jan-12-2025, 12:21 AM - Forum: General Coding Help - Replies (3)

Hello,

having trouble with some coding:
[python]def double_num(number):
# what code is needed to double the contents of the variable number?..... More

Print this item

  error in trying to install pyqt5
Posted by: arbiel - Jan-11-2025, 06:34 PM - Forum: GUI - Replies (3)

Hi

Trying to install PyQt5, I get the following message :

arbiel@arbiel-NJ5x-NJ7xLU:~$ pip install PyQt5
Collecting PyQt5
Using cached PyQt5..... More

Print this item

  Best way to feed python script of a file
Posted by: absolut - Jan-10-2025, 04:04 PM - Forum: General Coding Help - Replies (6)

Hi!
I'm newbie in python.
I need to do a service/daemon in python that it's always executing and it should read of a file. These file contains line..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  where should DEFAULT_CIPH... 10 hours ago Skaperen Larz60+ General Codin...
  I am sending messages usi... 10 hours ago Hendrikb Hendrikb General Codin...
  Get the string after a sp... Today, 07:19 JanJan Gribouillis General Codin...
  function arguments Today, 06:48 Curbie Gribouillis General Codin...
  [Beautiful Soup] Replace ... Today, 05:45 Winfried Winfried General Codin...
  how to delete thread Yesterday, 19:30 Azdaghost DeaD_EyE Board
  Atari Ping Pong Game Yesterday, 17:04 Azdaghost deanhystad Code sharing
  not running Yesterday, 16:08 Azdaghost deanhystad General Codin...
  [split] How to continue c... Yesterday, 16:02 pythonnewbie62 deanhystad General Codin...
  Web Scraping / API Yesterday, 13:40 nautifi deepvyas Jobs
  Wish to write a code for ... Yesterday, 07:12 Hasan2025 Hasan2025 General Codin...
Most views
  The best Prog... 557298
  Tutorial Requ... 424208
  Web Scraping ... 422843
  Newbie with P... 350760
  Thread remain... 324803
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+ 12034
buran 8165
snippsat 7320
deanhystad 6806
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
arturioworker Today
wayenia Today
davidmartin Today
donjon4500 Today
dadsdsdadsad Today

User Panel Messages

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