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,250
» Latest member: sarbogast
» Forum threads: 38,779
» Forum posts: 175,819

Full Statistics

Online Users
There are currently 51 online users.
» 1 Member(s) | 41 Guest(s)
Google, Bing, Applebot, Facebook, Mojeek, sarbogast

Latest Threads
New to python and coding
Forum: Homework
Last Post: jefsummers
4 hours ago
» Replies: 4
» Views: 109
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
6 hours ago
» Replies: 6
» Views: 182
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 315
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 281
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 109
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,624
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 212
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 191
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,277
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,425

 
  Cannot install and use pygame zero
Posted by: garthE - Sep-18-2024, 03:08 AM - Forum: Game Development - Replies (7)

I am having serious problems with pygame and pygame zero:

  1. pgzrun doesn't work ("bash: pgzrun: command not found)
    [x]I cannot install ..... More

Print this item

  Unable to install pygame (but it seems to already be installed)
Posted by: garthE - Sep-18-2024, 02:24 AM - Forum: Game Development - Replies (3)

I have been unsuccessful installing pygame (but see notes below). Here is what I did:

[output]sudo python3 -m pip install -U pygame==2.6.0
The di..... More

Print this item

  Updating column name with translation
Posted by: bobbydave - Sep-17-2024, 03:40 PM - Forum: General Coding Help - No Replies

I have a column of countries. However mixed within this country column are spanish country names.
I have found the list of names in Spanish, translat..... More

Print this item

  bytearray weirdness or newbee newness
Posted by: Curbie - Sep-17-2024, 03:31 PM - Forum: General Coding Help - Replies (3)

As a project to gauge my learning of python, and one that holds my interest, I’m playing with a program that reads an ancient, arcane, and obscure fil..... More

Print this item

  How to process tasks as they complete when using TaskGroup?
Posted by: odigity - Sep-16-2024, 10:00 PM - Forum: General Coding Help - Replies (2)

I understand the arguments for using the newer `Tas..... More

Print this item

  trying to change channels with python
Posted by: greggk1 - Sep-16-2024, 08:06 PM - Forum: General Coding Help - Replies (6)

Hello, I have a windows box running an HDhomerun box. I'm trying to change channels remotely. I have made a very simple little script, and it changes ..... More

Print this item

  Question about 0x80070642 - User cancelled installation
Posted by: Denjar - Sep-16-2024, 06:34 PM - Forum: Tutorial Requests and Submissions - Replies (1)

Hello,

I am new to Python and trying to install the software onto my Windows 11 computer, but I keep getting stuck halfway and end up with the "0x..... More

Print this item

  Need help with the script "Bopscrk"
Posted by: Arklex - Sep-16-2024, 10:47 AM - Forum: General Coding Help - Replies (7)

I'm getting an error using the script called "Bopscrk", it says it is compatible with Python 3, but this errors makes me think there is some kind of ..... More

Print this item

  Where do you go to learn about PyQt?
Posted by: Surplify - Sep-16-2024, 07:22 AM - Forum: GUI - Replies (3)

There aren't many great resources for learning PyQt. Where do you go to learn about PyQt?
[align=right][size=1][color=#[url=https://python-forum.io/thread-43220.html]..... More

Print this item

  How do I capture URL information with Flask?
Posted by: MacAarthur - Sep-16-2024, 06:37 AM - Forum: Web Scraping & Web Development - No Replies

Web service: https://test.com/user/external-login app_code = "bc9daa8f-123fg-4b34-6533"
auth_data = { "AuthToken": URL, "AppId": 601 }

If the toke..... More

Print this item

  search API calls in different format
Posted by: pythonnewbieee - Sep-15-2024, 07:49 PM - Forum: General Coding Help - Replies (4)

Yacy is a self-host search engine with an API

When I search via the web panel it produces real results in JSON format. For example searching "pyth..... More

Print this item

  Can't get graph code to work properly.
Posted by: KDDDC2DS - Sep-15-2024, 06:18 PM - Forum: General Coding Help - Replies (1)

Hi people. I have a problem, I'm working on a code for a school project, it has to analyze the graph in real time (the blue one) and depending on the ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Problem with while cicle
Posted by: Astelen - Sep-15-2024, 05:39 PM - Forum: General Coding Help - Replies (2)

Hi everyone,
I am a neophyte and am still studying the basics. I am following a tutorial online about how using while to create a calculator software...... More

Print this item

  Read TXT file in Pandas and save to Parquet
Posted by: zinho - Sep-14-2024, 11:20 PM - Forum: General Coding Help - Replies (2)

Hi.

I would like import a TXT file, change types(object to [date, str, float etc]), save data to parquet.

When a use pandas for this I get error..... More

Print this item

  Input function
Posted by: oldschool - Sep-14-2024, 10:50 AM - Forum: General Coding Help - Replies (1)

Hi,

I am new user for python and im currently following a PDF for samples. I'm stuck where the function ( input is not working ).

code is
[pyt..... More

Print this item

  Need help regarding signup bot
Posted by: redditbothelp - Sep-14-2024, 10:40 AM - Forum: General Coding Help - No Replies

HI, my name is james and i am just learning how to earn money online like everyone............

Sorry for bad English

i am running a reddit acco..... More

Print this item

  disnake | error
Posted by: Tema_RAW - Sep-14-2024, 07:13 AM - Forum: General Coding Help - Replies (1)

I created a button that works before restarting the code, after restarting the code the past button doesn't work and I need to create a new one, who c..... More

Print this item

  Assigning cycle values in a list
Posted by: nmancini - Sep-13-2024, 11:12 PM - Forum: General Coding Help - Replies (3)

Hi everyone,

I have dataframe including a list of intensity values (int) across time frames (frame). The list starts with negative time frame values,..... More

Print this item

  which Python choose
Posted by: bernd22 - Sep-13-2024, 12:13 PM - Forum: General Coding Help - Replies (1)

Hi,
I am little lost with decission which Python version should I choose for my hobby programming.
I tested Win 10 and Linux Mint 21.3 with Python 3..... More

Print this item

  Unable to understand the function string.split()
Posted by: Hudjefa - Sep-13-2024, 07:03 AM - Forum: General Coding Help - Replies (8)

When I do the following it works:

"A tree in the park".split()
Output:
['A', 'tree', 'in', 'the', 'park']
But when ..... More

Print this item

  Compare 2 files for duplicates and save the differences
Posted by: cubangt - Sep-12-2024, 02:34 PM - Forum: General Coding Help - Replies (2)

So we have a scenario where we need to compare 2 files and create a 3rd of the duplicates.

I cant provide actual files due to the sensitivity of th..... More

Print this item

  How to bypass Cloudflare checkbox challenge
Posted by: Pavel_47 - Sep-12-2024, 11:14 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

According to this manual from payed captcha resolving service
How to solve Cloudflare T[url=https://python-forum.io/thread-43204.html]..... More

Print this item

  Any idea?
Posted by: Cloved1945 - Sep-12-2024, 07:42 AM - Forum: General Coding Help - Replies (1)

New to Python but not to coding.

I would like to copy only the hidden files and folders in my home directory with rsync from a Python script.
The..... More

Print this item

  Beginner Help
Posted by: GilleyTheKid - Sep-09-2024, 05:00 PM - Forum: General Coding Help - Replies (7)

I'm having problems with a couple parts of the Python Crash Course 3rd Edition book. The first problem im having is getting a line with super(). ___in..... More

Print this item

  Flask basic help needed
Posted by: aArtur - Sep-09-2024, 04:57 PM - Forum: Web Scraping & Web Development - Replies (2)

when I run app.py and when i go to the browser, the text is not displayed

/Project_file/
├── app.py
└── templates/
├── base.html
└── in..... More

Print this item

  Letter T
Posted by: MTC - Sep-09-2024, 04:04 PM - Forum: General Coding Help - Replies (2)

I am newer to Python. Let's say, self taught. I am using Python 3.12. Can anyone tell me why the letter 'T' does not work unless I have caps lock o..... More

Print this item

  Path must be screwed up somewhere
Posted by: BR549py - Sep-09-2024, 08:19 AM - Forum: General Coding Help - Replies (4)

I am using Windows 11 and I have studied python a little bit and have gone through tutorials, however:

At the moment, something has to be screwed u..... More

Print this item

  Understanding What to test
Posted by: strikeouts27 - Sep-09-2024, 04:25 AM - Forum: General Coding Help - No Replies

So I completed this hacking.py python game and I was told that I need to write tests afterwards. I am starting to recognize that I should have written..... More


Attached Files

.zip   python_hacking_game-main.zip (Size: 17.23 KB / Downloads: 242)
Print this item

Question How to get the calling directory?
Posted by: franklin97355 - Sep-09-2024, 04:05 AM - Forum: General Coding Help - Replies (9)

Say I have a program in directory A/B and want to call it with data in A/B/C/D from the data directory, how do I tell the program that I want to opera..... More

Print this item

  math.remainder(a, b) question
Posted by: Hudjefa - Sep-08-2024, 07:46 AM - Forum: General Coding Help - Replies (1)

import math
print(math.remainder(7, 2))
Output:
-1.0
Shouldn't the output be 1.0? Think

Then ...

[python]i..... More

Print this item

  Extracting data from bank statement PDFs (Accountant)
Posted by: a4avinash - Sep-08-2024, 12:01 AM - Forum: General Coding Help - Replies (4)

Hi everyone,

I'm a complete beginner to Python and I'm facing challenges extracting data from bank statement PDFs. I'm trying to identify transaction..... More


Attached Files

.xlsx   Book1 (Output How I want).xlsx (Size: 9.66 KB / Downloads: 280)
.pdf   SAMPLE.pdf (Size: 168.25 KB / Downloads: 561)
.csv   ExtractedData.csv (Size: 199.77 KB / Downloads: 255)
.py   pdf-to-csv-extractor-v4.py (Size: 3.17 KB / Downloads: 338)
Print this item

  mapping does not work anymore
Posted by: thinkredot - Sep-07-2024, 09:43 AM - Forum: Data Science - Replies (2)

Hi, im trying to understand what is causing me my issue.It used to work!
Last time i ran this code was about a year ago
Is this python , pandas or..... More

Print this item

  Strange Code
Posted by: ov10fac - Sep-07-2024, 03:49 AM - Forum: General Coding Help - Replies (2)

I am new to python, but not to coding. I have been coding in C, C++, php and some others but just started coding in python. I have come across a pie..... More

Print this item

  Listening on receiving Interface (using scapy)
Posted by: CodyTheCodeNoob - Sep-06-2024, 09:28 AM - Forum: General Coding Help - Replies (1)

Hello, so I have tried setting up a NIC with dual ethernet interfaces, and I have connected them in a loopback. What I am trying to do is that I send ..... More

Print this item

  mariaDB
Posted by: DPaul - Sep-06-2024, 05:39 AM - Forum: Bar - No Replies

I'm in the process of migrating millions of records from SQLlite to Mariadb (and HeidiSQL.)
What would be the best book on those softwares that you c..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 4 hours ago lary_p jefsummers Homework
  Help with Serial.write in... 6 hours ago racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578856
  Tutorial Requ... 509930
  Web Scraping ... 441923
  Newbie with P... 385927
  New Users Int... 376277
Most reputation
buran 581
snippsat 510
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+ 12107
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
sarbogast Today
bmurray Today
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday

User Panel Messages

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