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,567
» Latest member: chandonarani55
» Forum threads: 38,633
» Forum posts: 175,022

Full Statistics

Online Users
There are currently 363 online users.
» 1 Member(s) | 358 Guest(s)
Google, Bing, Baidu, Yandex, ndc85430

Latest Threads
Actions to implement to m...
Forum: General Coding Help
Last Post: chandonarani55
41 minutes ago
» Replies: 0
» Views: 10
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: DaddyMAN
1 hour ago
» Replies: 0
» Views: 21
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
1 hour ago
» Replies: 2
» Views: 76
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
8 hours ago
» Replies: 4
» Views: 188
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 03:52 PM
» Replies: 7
» Views: 242
[split] Simple webbot for...
Forum: Code Review
Last Post: AB073
Yesterday, 01:17 PM
» Replies: 0
» Views: 42
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Yesterday, 06:40 AM
» Replies: 4
» Views: 969
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 04:47 AM
» Replies: 1
» Views: 81
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Yesterday, 02:19 AM
» Replies: 2
» Views: 114
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jun-17-2025, 02:23 AM
» Replies: 1
» Views: 122

 
  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: 188)
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: 189)
.pdf   SAMPLE.pdf (Size: 168.25 KB / Downloads: 375)
.csv   ExtractedData.csv (Size: 199.77 KB / Downloads: 176)
.py   pdf-to-csv-extractor-v4.py (Size: 3.17 KB / Downloads: 231)
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

  Shared memory issue
Posted by: Lchunleo - Sep-06-2024, 05:21 AM - Forum: General Coding Help - No Replies

Hi
Am using python 3.8 and using the shared memory module from multiprocessing.

I have a simple setup that two docker container where each of them..... More

Print this item

  Python directory structure in wqin 11
Posted by: barryjo - Sep-06-2024, 01:58 AM - Forum: General Coding Help - Replies (3)

I just downloaded python 3.12

In my computer if I go to cmd line>py I get to python3.12
if I go to cmdline>python I get to python3.8
Why ..... More

Print this item

  How to share a configured logger between running processes?
Posted by: somhairle69tx - Sep-05-2024, 07:20 PM - Forum: General Coding Help - Replies (5)

I'm trying to build a small GUI app with a logger that will, at some point, be doing some time consuming manipulation of multiple sets of data (up to ..... More

Print this item

  Site pubblication
Posted by: Gae - Sep-05-2024, 04:06 PM - Forum: Web Scraping & Web Development - Replies (4)

Hello I have made, development, a webApp called PalestraGes which contains the various folders. Now I need to move it to production.
The provider tol..... More

Print this item

  tabular visualization
Posted by: anthos5 - Sep-05-2024, 12:04 PM - Forum: Data Science - Replies (4)

Hello everyone,
I hope you're all doing well.

I have a dataframe containing the name of the months (Jan to Dec):

[python]
import pandas as pd..... More


Attached Files

Thumbnail(s)
   
Print this item

  How do I make functions "interact" with each other?
Posted by: Hudjefa - Sep-05-2024, 11:20 AM - Forum: General Coding Help - Replies (11)

[python]def weight_stats():
mean_total_weight = 8 * 68
variance_total_weight = 8 * 25
standard_deviation_total_weight = math.sqrt(varia..... More

Print this item

  Version 0.02 of the PySide6 Weather App
Posted by: menator01 - Sep-04-2024, 01:58 PM - Forum: Code sharing - No Replies

This version should work world wide. May have some bugs when it comes to the wind direction arrow. I've tried testing it and the rain.

To try it cre..... More


Attached Files

Thumbnail(s)
   
Print this item

Question [SOLVED] How to replace characters in a string?
Posted by: Winfried - Sep-04-2024, 01:28 PM - Forum: General Coding Help - Replies (2)

Hello,

I can't get Python to replace a string in a string: If I read the HTML file as binary, it fails; If I open it as text, it fails too :-/

[..... More

Print this item

  Senior Python Developer - up to 95K - London/Remote - URGENT
Posted by: seanfullstack - Sep-04-2024, 10:32 AM - Forum: Jobs - Replies (1)

🚀 Exciting Opportunity: Senior Software Engineer - Up to £95k!

Are you a passionate software engineer ready to take on a new challenge? We're looki..... More

Print this item

  Managing recursive tasks in celery.
Posted by: vamix - Sep-04-2024, 07:26 AM - Forum: General Coding Help - Replies (1)

I have a number of tasks that I want to chain to build a pipeline. It consists of two main tasks, fetch_data and post_process. The fetch_data task is ..... More

Print this item

  help me in flask code
Posted by: iiiiiiiiii - Sep-03-2024, 05:50 AM - Forum: Web Scraping & Web Development - Replies (1)

You said:
[python]
from flask import Flask, render_template, request, redirect, url_for, jsonify
import sqlite3
import os
import requests
from..... More

Print this item

  PySide6 Movie Search
Posted by: menator01 - Sep-03-2024, 02:00 AM - Forum: Code sharing - No Replies

I re-write the movie search script if anyone would like to give it a try.
I've not uploaded to my github yet but, you can get it from ..... More

Print this item

  [SOLVED] [BeautifulSoup] Why are some elements ignored?
Posted by: Winfried - Sep-02-2024, 05:38 PM - Forum: General Coding Help - Replies (5)

Hello,

I need BS to work on a book formated as XHTML.

Each page is a <div>.

Within each page, I need to grab the footnotes, that can contain ..... More

Print this item

  Destructor method adding in string
Posted by: chizzy101010 - Sep-02-2024, 05:31 PM - Forum: General Coding Help - Replies (3)

Hi to all, i've got a question that i hope someone can help with, i've bought a book with examples and one of those examples used a destructor method,..... More

Print this item

  Building a dictionary .update entry from variables
Posted by: Curbie - Sep-02-2024, 03:38 PM - Forum: General Coding Help - Replies (5)

After several weeks of doing 3 passes on 40+ tutorials sticking to the path, the way the author teaches them, hoping that unresolved questions will be..... More

Print this item

  what will you do?
Posted by: kucingkembar - Sep-02-2024, 02:45 PM - Forum: News and Discussions - Replies (13)

sorry for my bad English,
This about the previous discussionl :
if you have thousands of [raw d..... More

Print this item

  Input is not defined
Posted by: Forno_Gamer - Sep-02-2024, 02:13 PM - Forum: Game Development - Replies (3)

Hello, I'm having a problem. I'm trying to make the "A" key do the basic movement of moving my player to the side. This error occurs that says that 'K..... More


Attached Files

Thumbnail(s)
       
Print this item

  Exception printed twice
Posted by: rwestebbe - Sep-02-2024, 11:17 AM - Forum: General Coding Help - Replies (2)

Hi,

I'm a little bit confused as the following code prints the exception provoked by the wrong password twice. Does anybody know why?

[python]..... More

Print this item

  Problem with Distutils.msvccompiler
Posted by: Samantha - Sep-02-2024, 06:10 AM - Forum: General Coding Help - No Replies

Hi, I’m getting a distutils.msvccompiler not found error even though I am running python 3.9 where distutils is supposedly already in its API. This oc..... More

Print this item

  Sphinx: Localize error is always hard
Posted by: buhtz - Sep-01-2024, 11:12 AM - Forum: General Coding Help - No Replies

This is an X-Post first asked on Sphinx Discussion forum.

I get errors like this:..... More

Print this item

  Designing Game Levels (Very Basic)
Posted by: Hudjefa - Sep-01-2024, 06:41 AM - Forum: General Coding Help - No Replies

In an online basic Python course I'm taking, there's a project where I have to create game levels for a typing game (using keyboards and a list of dis..... More

Print this item

  Splitting Manhua & Manhwa
Posted by: kucingkembar - Sep-01-2024, 05:42 AM - Forum: General Coding Help - Replies (12)

sorry for my bad English or wrong section,
I tried to split this image by whitespace (marked by the red line) using python
   
I sear..... More

Print this item

  Edit PDF
Posted by: harrywass - Aug-30-2024, 01:09 PM - Forum: General Coding Help - Replies (2)

Hi,

I am trying to add editable text fields to multiple PDF's. Can someone tell me what the best import is?

Thanks

Print this item

Question Convert signal/curve to steps
Posted by: ben7500 - Aug-30-2024, 05:57 AM - Forum: Data Science - Replies (4)

Hello everyone,

I searched long time on this matter I couldn't figure out a reliable way to proceed.
I have a signal for example attached file.
..... More


Attached Files

Thumbnail(s)
   
Print this item

  Forward __getattr__ to another object.
Posted by: deanhystad - Aug-30-2024, 05:27 AM - Forum: General Coding Help - Replies (1)

I have a class, RemoteAliast that is a local representative for a python object that exists elsewhere. Calling a method on the alias results in the m..... More

Print this item

Question Graphing a list of ranges
Posted by: Calab - Aug-29-2024, 08:45 PM - Forum: Web Scraping & Web Development - Replies (2)

I have a list of tuples. Each tuple is a low and high value indicating a range.

What I would like to do is specify a range by giving a starting val..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Actions to implement to m... 41 minutes ago chandonarani55 chandonarani55 General Codin...
  Dynamic Module Import Err... 1 hour ago DaddyMAN DaddyMAN General Codin...
  What Are the Most Overloo... 1 hour ago shreyapatel Plyth News and Disc...
  Setting AST node lineno c... 8 hours ago voidtrance deanhystad General Codin...
  How do select this table ... Yesterday, 15:52 MarkMan snippsat Web Scraping ...
  [split] Simple webbot for... Yesterday, 13:17 AB073 AB073 Code Review
  Wish to write a code for ... Yesterday, 06:40 Hasan2025 Hasan2025 General Codin...
  I have a question Yesterday, 04:47 Clictithe Pedroski55 General Codin...
  How to produce a CPU load... Yesterday, 02:19 Calab Plyth General Codin...
  Venv - Python Virtual Env... 06-17, 02:23 DanneA Larz60+ General Codin...
  Webscraping: Attendance L... 06-17, 02:20 ThatsMe Larz60+ Web Scraping ...
Most views
  The best Prog... 572245
  Tutorial Requ... 484729
  Web Scraping ... 436785
  Newbie with P... 379614
  Thread remain... 351213
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+ 12065
buran 8173
snippsat 7336
deanhystad 6838
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
chandonarani55 Today
kholdeman Yesterday
AB073 Yesterday
ANOUAR33 Yesterday
gooberpat Yesterday

User Panel Messages

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