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,427
» Latest member: WassCodeur
» Forum threads: 38,546
» Forum posts: 174,673

Full Statistics

Online Users
There are currently 449 online users.
» 0 Member(s) | 445 Guest(s)
Bing, Google, Mojeek, Yandex

Latest Threads
Eight Queens Problem, err...
Forum: General Coding Help
Last Post: Gribouillis
13 minutes ago
» Replies: 10
» Views: 572
what name to give to a ne...
Forum: News and Discussions
Last Post: snippsat
3 hours ago
» Replies: 3
» Views: 90
Picamera2 commands betwee...
Forum: General Coding Help
Last Post: GigiG
5 hours ago
» Replies: 0
» Views: 65
Automating the CyberGhost...
Forum: General Coding Help
Last Post: surendragupta
5 hours ago
» Replies: 0
» Views: 52
PyVisa Query Command fail...
Forum: General Coding Help
Last Post: dazz
6 hours ago
» Replies: 0
» Views: 55
where should DEFAULT_CIPH...
Forum: General Coding Help
Last Post: Larz60+
7 hours ago
» Replies: 4
» Views: 231
White Screen Issue with T...
Forum: General Coding Help
Last Post: encore
9 hours ago
» Replies: 3
» Views: 1,108
Get the string after a sp...
Forum: General Coding Help
Last Post: snl_9527
11 hours ago
» Replies: 5
» Views: 254
I am sending messages usi...
Forum: General Coding Help
Last Post: Hendrikb
Yesterday, 09:38 AM
» Replies: 0
» Views: 96
function arguments
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:48 AM
» Replies: 1
» Views: 148

 
  Find duplicates in a pandas dataframe list column on other rows
Posted by: Calab - Sep-18-2024, 04:14 PM - Forum: Data Science - Replies (2)

I have a pandas dataframe where one of the columns is a list of values. I need to identify if any item in the list occurs in that list in other rows...... More

Print this item

  Text input OK on Windows, not working on linux
Posted by: Ota - Sep-18-2024, 07:45 AM - Forum: GUI - Replies (3)

I have created a Tkinter form with the help of Figma/Tkinter.Designer. On Windows (Python 3.12) it works Ok. When I tried it on Linux Armbian/Bookworm..... More

Print this item

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

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: 138)
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: 154)
.pdf   SAMPLE.pdf (Size: 168.25 KB / Downloads: 307)
.csv   ExtractedData.csv (Size: 199.77 KB / Downloads: 143)
.py   pdf-to-csv-extractor-v4.py (Size: 3.17 KB / Downloads: 187)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Eight Queens Problem, err... 13 minutes ago snl_9527 Gribouillis General Codin...
  what name to give to a ne... 3 hours ago Skaperen snippsat News and Disc...
  Picamera2 commands betwee... 5 hours ago GigiG GigiG General Codin...
  Automating the CyberGhost... 5 hours ago surendragupta surendragupta General Codin...
  PyVisa Query Command fail... 6 hours ago dazz dazz General Codin...
  where should DEFAULT_CIPH... 7 hours ago Skaperen Larz60+ General Codin...
  White Screen Issue with T... 9 hours ago evelynfreya encore General Codin...
  Get the string after a sp... 11 hours ago JanJan snl_9527 General Codin...
  I am sending messages usi... Yesterday, 09:38 Hendrikb Hendrikb General Codin...
  function arguments Yesterday, 06:48 Curbie Gribouillis General Codin...
  [Beautiful Soup] Replace ... Yesterday, 05:45 Winfried Winfried General Codin...
Most views
  The best Prog... 557359
  Tutorial Requ... 424387
  Web Scraping ... 422896
  Newbie with P... 350955
  Thread remain... 324888
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+ 12035
buran 8165
snippsat 7321
deanhystad 6806
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
WassCodeur Today
roy_silberio Today
roy_welinton Today
jorgeallwin32 Today
Smitdesuja Today

User Panel Messages

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