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,559
» Latest member: Markrus011
» Forum threads: 38,627
» Forum posts: 175,001

Full Statistics

Online Users
There are currently 315 online users.
» 0 Member(s) | 310 Guest(s)
Baidu, Google, AOL, Yandex

Latest Threads
Setting AST node lineno c...
Forum: General Coding Help
Last Post: voidtrance
1 hour ago
» Replies: 0
» Views: 32
Convert any Python expres...
Forum: General Coding Help
Last Post: voidtrance
8 hours ago
» Replies: 0
» Views: 65
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: DanneA
8 hours ago
» Replies: 0
» Views: 52
Webscraping: Attendance L...
Forum: Web Scraping & Web Development
Last Post: ThatsMe
Today, 09:28 AM
» Replies: 0
» Views: 60
ImportError: cannot impor...
Forum: General Coding Help
Last Post: ItsTheGoose
Today, 07:08 AM
» Replies: 11
» Views: 6,168
Port forwarding with frit...
Forum: Networking
Last Post: Mostelf
Today, 04:41 AM
» Replies: 4
» Views: 216
New Users Introduce Yours...
Forum: Bar
Last Post: 2dogs
Yesterday, 03:32 PM
» Replies: 450
» Views: 339,879
course for Python and Pyt...
Forum: News and Discussions
Last Post: 2dogs
Yesterday, 03:15 PM
» Replies: 2
» Views: 769
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 01:52 PM
» Replies: 4
» Views: 188
Predicitve Maintenance Pr...
Forum: General Coding Help
Last Post: DeaD_EyE
Jun-14-2025, 11:00 PM
» Replies: 2
» Views: 209

 
  multithreading xlwings error
Posted by: Equivocal - Jan-25-2025, 05:10 PM - Forum: General Coding Help - No Replies

here's the deal.. i barely know what i'm doing. hobby project.

i've got xlwings updating a ton of cells every few seconds with data from an API (B..... More

Print this item

Question how to type hint a function in a dataclass?
Posted by: Calab - Jan-24-2025, 04:22 PM - Forum: General Coding Help - Replies (3)

I wish to create a dataclass where one of the attributes will hold a function. It could be any function, so I won't know what parameters it will accep..... More

Print this item

  Newbie needs help
Posted by: actuary316 - Jan-24-2025, 01:31 PM - Forum: General Coding Help - Replies (5)

Brand new Python user, long time APL user.

In APL I have the ability to read a matrix, designate a pararmeter (or multiple parameters) and there is..... More

Print this item

  Basics of Signal Processing with Python
Posted by: ratwolf - Jan-24-2025, 06:49 AM - Forum: Code sharing - No Replies

Hello World Programs for Signal Processing with Python

Demonstration How to Use Fast Fourier Transform (FFT) with Python

..... More

Print this item

  Locally run an APK and execute functions using Python
Posted by: KovyJ - Jan-23-2025, 05:21 PM - Forum: General Coding Help - No Replies

[align=left]Can I execute an APK/call functions using Python? I found https://pypi.org/project/pyjnius/, but I am not clear on if I can use it with a ..... More

Print this item

Shocked Why Can't I do Undo on my Python?
Posted by: honeylemonade - Jan-23-2025, 05:33 AM - Forum: General Coding Help - Replies (2)

Pray

Hi friends. I need your help! I am new at learning Python and still have little idea on how to work things out. One of it is, I can't do ..... More


Attached Files

Thumbnail(s)
   
Print this item

  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: 73)
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: 74)
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 (3)

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Setting AST node lineno c... 1 hour ago voidtrance voidtrance General Codin...
  Convert any Python expres... 8 hours ago voidtrance voidtrance General Codin...
  Venv - Python Virtual Env... 8 hours ago DanneA DanneA General Codin...
  Webscraping: Attendance L... Today, 09:28 ThatsMe ThatsMe Web Scraping ...
  ImportError: cannot impor... Today, 07:08 Anldra12 ItsTheGoose General Codin...
  Port forwarding with frit... Today, 04:41 timonick Mostelf Networking
  New Users Introduce Yours... Yesterday, 15:32 Yoriz 2dogs Bar
  course for Python and Pyt... Yesterday, 15:15 anjali 2dogs News and Disc...
  How do select this table ... Yesterday, 13:52 MarkMan snippsat Web Scraping ...
  Predicitve Maintenance Pr... 06-14, 23:00 dannyg DeaD_EyE General Codin...
  Button color selection in... 06-14, 17:55 wa4ywm wa4ywm General Codin...
Most views
  The best Prog... 572192
  Tutorial Requ... 484693
  Web Scraping ... 436746
  Newbie with P... 379578
  Thread remain... 351206
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+ 12063
buran 8173
snippsat 7335
deanhystad 6835
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Markrus011 Today
DanneA Today
ShirleyBrendel Today
ThatsMe Today
dataanalystjobs7 Today

User Panel Messages

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