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,394
» Latest member: braillescribe
» Forum threads: 38,822
» Forum posts: 176,022

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 31 Guest(s)
Bing, Facebook, AOL, Mojeek

Latest Threads
Willing to pay for help w...
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 3
» Views: 107
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 125
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 267
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,083
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,925
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 159
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 93
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 163
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,302
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 124

 
  How to detect abnormal data in big database python
Posted by: vanphuht91 - Jun-19-2023, 03:20 PM - Forum: General Coding Help - Replies (5)

I have a database with 10,000 rows and 3,000 columns. My task is detect abnormal data when compare line by line, item by item.

[python]
import mat..... More


Attached Files

Thumbnail(s)
       

.xlsx   Book1.xlsx (Size: 16.29 KB / Downloads: 301)
Print this item

Bug Dinamically adding widgets to layout [PySide6]
Posted by: carecavoador - Jun-19-2023, 11:56 AM - Forum: GUI - Replies (2)

Hello!

I'm following this thread on SO to dinamically crea..... More

Print this item

  Formatting a date time string read from a csv file
Posted by: DosAtPython - Jun-19-2023, 10:59 AM - Forum: General Coding Help - Replies (5)

L.S.,

I'm rather new to python-programming. I'm trying to remove the time info from a date time string read from a csv-file. My impression is that ..... More

Print this item

  Beginner question re: Tkinter geometry
Posted by: return2sender - Jun-19-2023, 12:39 AM - Forum: GUI - Replies (3)

I am trying to create a data entry form that takes user input in categories and displays it in a grid.

The code below illustrates what I am trying ..... More

Print this item

  docx insert words of previuos paragraph on next paragraph in the same position
Posted by: ctrldan - Jun-18-2023, 09:10 PM - Forum: General Coding Help - Replies (7)

Hi, with from docx import Document I want to convert a docx to xml (and I did, I create a string that will be my output xml). This docx document conta..... More


Attached Files

Thumbnail(s)
   
Print this item

  pip installs in a different python version and directory than the default 3.11
Posted by: ao_tex_mal - Jun-18-2023, 05:19 PM - Forum: General Coding Help - Replies (9)

Hi All,

Quick question - not related explicitly to python code - more related to installing packages.

When I try to install packages with pip insta..... More

Print this item

  Code is returning the incorrect values. syntax error
Posted by: 007sonic - Jun-18-2023, 04:23 PM - Forum: General Coding Help - Replies (6)

Just trying to figure out why my code here is returning the incorrect minimum and maximum values. tried flipping the ">" and "<" around and it still d..... More

Print this item

  Python: AttributeError: 'PageObject' object has no attribute 'extract_images'
Posted by: Melcu54 - Jun-18-2023, 02:06 PM - Forum: General Coding Help - Replies (2)

hello, I try to convert with OCR some pdf that contains images. I got this error:

[python]Traceback (most recent call last):
File "E:\Carte\BB\1..... More

Print this item

  Invalid argument: 'images\x08ackground.jpg'
Posted by: CatBall - Jun-18-2023, 10:52 AM - Forum: General Coding Help - Replies (4)

My code:
[Image: d6a4a5c68148a348a654a0a4a7774cfb.png]

The error:
[img]https://i.gyazo.com/67e616fd9ee26818bfe80edb628e9ede..... More

Print this item

  Parallel processing - AttributeError: Can't get attribute 'sktimekmeans'
Posted by: Mohana1983 - Jun-18-2023, 03:35 AM - Forum: General Coding Help - Replies (1)

Hi,

I am kind of new to Python as well as programming. I am running partitional clustering for time series data. It has 178 columns by 50000 rows. ..... More

Print this item

  PDF properties doesn't show created or modified date
Posted by: Pedroski55 - Jun-18-2023, 03:23 AM - Forum: General Coding Help - Replies (4)

I had a lot of small pdfs, which I merged to 1 big pdf using PyPDF2, a great tool! Works perfectly!

When I open the big pdf, and go to File Options..... More

Print this item

  Spaghetti Code
Posted by: kucingkembar - Jun-17-2023, 02:50 PM - Forum: General Coding Help - Replies (4)

sorry for my bad English, or if I write in the wrong Section

I can do some Python coding,
but the ending of my code usually ends as Spaghetti Cod..... More

Print this item

  Help to control pandas.melt function
Posted by: vanphuht91 - Jun-17-2023, 08:36 AM - Forum: Data Science - No Replies

I’m using pandas to processing my raw data.
I have raw data like this:
   

I want to convert some columns to row using pd.melt like..... More


Attached Files

Thumbnail(s)
   
Print this item

  problem with a formula 1 kind of homework
Posted by: claroque - Jun-17-2023, 03:19 AM - Forum: Homework - Replies (2)

in preparatory classes we have something called tipe it is basically a kind of presentation that we need to prepare and we have to put in some added v..... More

Print this item

  Strange ModuleNotFound Error on BeautifulSoup for Python 3.11
Posted by: Gaberson19 - Jun-17-2023, 02:33 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi, first time poster here.

So I've been trying Beautiful Soup for the first time, but when I tried running my code, I ended up getting a ModuleNot..... More

Print this item

  Can anyone tell me why this code isn't looping properly?
Posted by: SuchUmami - Jun-16-2023, 11:42 PM - Forum: General Coding Help - Replies (2)

I made a basic buy bot for a crypto exchange. It searches a database and loops like I want it to, however when there is a trade that is triggered, the..... More

Print this item

  Finite fields (Galois library)
Posted by: J_Osorio - Jun-16-2023, 11:26 PM - Forum: General Coding Help - No Replies

Say, I want a finite field containing $2^n$ elements for some positive $n$. How to get a single random primitive element in Python, different from tha..... More

Print this item

  python-forum dot-org?
Posted by: treykeown - Jun-16-2023, 09:56 PM - Forum: Board - Replies (3)

Hey folks. I used to be a member of python-forum when this was a dot-org domain, many years ago. Looks like this might be the successor? If any of the..... More

Print this item

  Error flask_mysqldb
Posted by: IvanB - Jun-16-2023, 05:59 PM - Forum: General Coding Help - Replies (4)

I don`t understand why flask_mysqldb is giving errors, I am using an enviorment but i have flask and
Flask-MySQLDB but it keeps giving error. Someon..... More


Attached Files

Thumbnail(s)
               
Print this item

  Error when running kivy on python
Posted by: janeik - Jun-16-2023, 01:21 PM - Forum: General Coding Help - Replies (8)

desktop pc, win 10 , python 3.11, kivy 2.2

Hello. I am trying to run this code to confirm setup before I dive into python and kivy trying to achiev..... More

Print this item

  AttributeError
Posted by: foxxrunning - Jun-15-2023, 09:50 PM - Forum: General Coding Help - Replies (5)

I am using code to try to learn python. I am getting an AttributeError which I cannot figure out. Here is the error.

Exception in Tkinter callba..... More


Attached Files

.py   gui_cell_set_state.py (Size: 2.67 KB / Downloads: 315)
Print this item

  converting an int to bytes
Posted by: Skaperen - Jun-15-2023, 05:51 PM - Forum: News and Discussions - Replies (4)

i can convert an int to bytes by first converting to hexadecimal characters (and maybe prefixing a '0' to make an even number of digits). is there an..... More

Print this item

  Evaluate Calculations
Posted by: yrstruly - Jun-15-2023, 04:32 PM - Forum: Data Science - No Replies

Python Linear Regression Project
In the Python file, write a script that will perfom a linear regression on the data in data.txt and then calculate t..... More

Print this item

  Python GUI Programming
Posted by: rob101 - Jun-14-2023, 06:49 PM - Forum: News and Discussions - No Replies

There's a book that has just been published (isbn 978-93-5551-837-8) that could be very useful for any Python GUI developer.

It has been written fo..... More

Print this item

  scrape books
Posted by: moristrudeau4 - Jun-14-2023, 05:28 PM - Forum: General Coding Help - Replies (2)

Hello all! Can anyone help me?
I want to scrape all books of French language and export them to excel or csv. what i'm doing wrong?
[python]from bs4..... More

Print this item

  Development Environment Problems
Posted by: standenman - Jun-13-2023, 07:15 PM - Forum: General Coding Help - Replies (1)

I am having so many problems with my python development I am about to pull my hair out. I have created a virtual environment. I have accessing it va..... More

Print this item

  print(data) is suddenly invalid syntax
Posted by: db042190 - Jun-13-2023, 05:30 PM - Forum: General Coding Help - Replies (6)

Hi, my scripts are evolving but I seem to have taken a step backward. The script below works without the print(data) command but not with it. This w..... More

Print this item

  Object attribute behavior different in 2 scripts
Posted by: db042190 - Jun-13-2023, 05:12 PM - Forum: General Coding Help - Replies (1)

Hi, in scripts 1 and 2 below I got different behavior on object yf.Ticker.

Script 1 runs fine and in fact so too did a similar Script 2 for a mod..... More

Print this item

  Splitt PDF at regex value
Posted by: standenman - Jun-13-2023, 12:39 PM - Forum: Data Science - Replies (11)

I am trying to create code that will split a pdf into multiple files based upon a regex value in the pdf text. Specifically, I want to split this pdf..... More

Print this item

  Error: can't start new thread
Posted by: maha2 - Jun-13-2023, 12:26 PM - Forum: General Coding Help - No Replies

Hi!
When creating an instance of the pymongo.MongoClient class, I have the following error at irregular intervals:

[error]...
File "/srv/foo/..... More

Print this item

  Open a new window does not work
Posted by: Nietzsche - Jun-13-2023, 09:28 AM - Forum: General Coding Help - Replies (4)

Hello,

i have a ui for the live plotter window. In this UI i have an menu point "Settings" (liveplotterEinstellungen). I load the UI and then connect..... More

Print this item

  Using ID3 Estimator for Decision Trees
Posted by: student6306 - Jun-13-2023, 08:17 AM - Forum: General Coding Help - Replies (2)

Hi, I got stuck on question d and onwards some help would be very much appreciated.
Following is the code I have so far but on question d I'm totally..... More

Print this item

  io.UnsupportedOperation: fileno
Posted by: toml12953 - Jun-13-2023, 01:11 AM - Forum: General Coding Help - Replies (3)

I'm using Python 3.11.4 (64-bit) on windows 11.
I've installed libraries from the book, Introduction to Python Programming.
One of these is c..... More

Print this item

  Is there a more elegant way to concatenate data frames?
Posted by: db042190 - Jun-12-2023, 09:49 PM - Forum: General Coding Help - Replies (3)

Hi, I'm picturing a script that will include in a loop everything after the setting of "today" and before the "print" prototyped in the code below. T..... More

Print this item

  Using ID3 Estimator for Decision Trees
Posted by: student6306 - Jun-12-2023, 05:43 PM - Forum: Homework - Replies (2)

I got stuck on d and onwards some help would be very much appreciated :)))

[python]
%%capture --no-display
# hack omwille van bug in Id3Estimator..... More


Attached Files

Thumbnail(s)
               

.csv   studentsScores.csv (Size: 3.07 KB / Downloads: 295)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Willing to pay for help w... 7 hours ago braillescribe Pedroski55 General Codin...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
Most views
  The best Prog... 580393
  Tutorial Requ... 519347
  Web Scraping ... 442776
  Newbie with P... 386972
  New Users Int... 386420
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
braillescribe Yesterday
aurelio12282025 Yesterday
bejaminmaarleyo1374 Yesterday
taylorlitleoz476 Yesterday
desy845 Yesterday

User Panel Messages

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