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,246
» Latest member: isla123456
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 41 Guest(s)
Google, Bing, Facebook, Facebook Dev

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
2 hours ago
» Replies: 1
» Views: 28
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
2 hours ago
» Replies: 11
» Views: 221
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
2 hours ago
» Replies: 3
» Views: 85
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
7 hours ago
» Replies: 5
» Views: 215
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 80
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,597
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 169
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 164
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,708
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,403

 
  Strategy for data extraction
Posted by: standenman - Feb-22-2024, 10:32 PM - Forum: Data Science - Replies (1)

I am trying to come up with a strategy for extracting key data from generic letters for different clients. This is the format of the letter I want to..... More


Attached Files

.pdf   MedRequestTemplate_Redacted-min.pdf (Size: 176.14 KB / Downloads: 5)
Print this item

  Showing windows after one another
Posted by: Ben123 - Feb-22-2024, 05:52 PM - Forum: GUI - Replies (4)

[python]import tkinter as tk
from PIL import Image, ImageTk

class Class1():

def __init__(self) -> None:
self.root = tk.Tk()
..... More

Print this item

  Column Transformer with Mixed Types - sklearn
Posted by: aaldb - Feb-22-2024, 03:27 PM - Forum: Data Science - No Replies

Dear community,

Im seeking your help for my data science thesis project. Im looking for scikit learn experts who can help me answer the following q..... More

Print this item

  LDA Model prepare() method failure in Python
Posted by: noerkes - Feb-22-2024, 01:42 PM - Forum: Data Science - No Replies

I'm trying to utilize the pyLDAvis Python package in Spyder, and while the LdaModel() function appears to work correctly, when I enable_notebook() and..... More

Print this item

  Selecting correct xlrd version
Posted by: Kithsiri - Feb-22-2024, 12:05 PM - Forum: General Coding Help - Replies (4)

Our system is using Python 2 and xlrd 0.8 version. We are planning to upgrade to Python 3.
Then looking at xlrd 0.8 version, it is very much depende..... More

Print this item

  Help!!
Posted by: prem_koresh_avraham - Feb-22-2024, 11:05 AM - Forum: General Coding Help - Replies (2)

[python]def hint_username(username):
if len(username) < 3:
print("Invalid username. Usernames must have more than 3 characters")
el..... More

Print this item

  Combine console script + GUI (tkinter)
Posted by: dejot - Feb-21-2024, 07:56 PM - Forum: General Coding Help - Replies (2)

Hello,
I have two python scripts. First is quickstart.py ans second is dater.py. My goal is to run first script and then inside call se..... More

Print this item

  Unable to download TLS Report attachment
Posted by: blason16 - Feb-21-2024, 05:48 PM - Forum: General Coding Help - Replies (6)

Hi Team,

I am trying to write a code which would download the TLS Report messages and then extract messages, unzip it and store it in file. Since I..... More

Print this item

  string to float conversion fails
Posted by: PetarPetrenko - Feb-21-2024, 04:56 PM - Forum: Homework - Replies (10)

Python version: 3.12
Windows 10, x64

This the problematic raw:

---------------------------------------------------------------
a = float(inpu..... More

Print this item

Question [Faircom CTree] Access from Python?
Posted by: Winfried - Feb-21-2024, 03:28 PM - Forum: Data Science - Replies (2)

Hello,

There's a long dead application — development stopped in the late 90's — that used Faircom's CTree database engine (the DLL says: Company=Fair..... More

Print this item

  Using OpenCV and image path is invalid
Posted by: AudunNilsen - Feb-21-2024, 11:15 AM - Forum: General Coding Help - Replies (5)

Trying to retrieve data from images using four modules.

This is the error message:
[error]>>> %Run -c $EDITOR_CONTENT
Traceback (most recent call..... More

Print this item

  Horizontal extension of widgets + frame size adapted to content
Posted by: Fab117 - Feb-21-2024, 10:54 AM - Forum: GUI - Replies (3)

Hi,
I'm really beginner with TKinter/Python. I followed a TKinter training and I'm now trying to develop my 1st application.
I'm facing 2 challenges..... More

Print this item

  Simple linear regression with interaction summary table
Posted by: Andrzej_Andrzej - Feb-21-2024, 07:44 AM - Forum: Data Science - No Replies

Hi,
I would be very grateful for help because I was not able to figure it out in R.
So if R can't do it maybe Python can?
Here are two questions h..... More

Print this item

Bug p[0] mysteriouly set to 0
Posted by: pnachtwey - Feb-21-2024, 03:39 AM - Forum: General Coding Help - Replies (2)

[code]
import numpy as np

alpha = 0.1
h=0.000001
ftol = 1e-12

def f(p):
_sum = 0 # simple sum of x and y squa..... More

Print this item

  cutomtkinter matplotlib no x,y - xaxis and x,y - labels-> only graph and grid visible
Posted by: dduric - Feb-20-2024, 07:09 PM - Forum: GUI - No Replies

I am trying to create a virtual signal-generator(function-generator) - GUI with the cutomtkinter, matplotlib libs. The graph should be updated after a..... More


Attached Files

Thumbnail(s)
   
Print this item

  J'ai un "Failed: DID NOT RAISE <class 'Exception'>"
Posted by: williamKrakos - Feb-20-2024, 02:21 PM - Forum: Data Science - No Replies

code test.py:
[python]import pytest

#################### PHASE 1 ####################

def test_imports():
from pixel import Pixel
fro..... More

Print this item

Question How to add Python folder in Windows Registry ?
Posted by: Touktouk - Feb-20-2024, 09:09 AM - Forum: General Coding Help - Replies (1)

While trying to uninstall python to solve some errors, I have deleted that folder in the Windows Registery (and all the subfolder as well then): HKEY_..... More

Print this item

  I have 'Failed: DID NOT RAISE <class 'Exception'>'
Posted by: williamKrakos - Feb-19-2024, 11:55 PM - Forum: Homework - Replies (3)

code test.py:
[python]import pytest

#################### PHASE 1 ####################

def test_imports():
from pixel import Pixel
from image..... More

Print this item

  Puzzling import issue that I have no idea how to solvr
Posted by: starseeker - Feb-19-2024, 09:50 PM - Forum: General Coding Help - Replies (3)

I'm building an API with django ninja, for design reasons I'm using some logic inside microservice/logic/one_module.py that needs to get JSON data fro..... More

Print this item

Star Pairs Trading Simulation
Posted by: Kiitoos - Feb-19-2024, 08:27 PM - Forum: General Coding Help - Replies (2)

Hello, I am a student in finance and I have a project to do about pairs trading strategy. The fact is that my program works but gives me outputs that ..... More

Print this item

  Transform a list
Posted by: standenman - Feb-19-2024, 07:28 PM - Forum: Data Science - Replies (2)

I have a list of the bookmarks in pdf that I wish to transform. The list prints out in the form:

[[python][2, 'Medical Evidence of Record (MER) ..... More

Print this item

  recording textbox data into a variable
Posted by: paul18fr - Feb-19-2024, 06:13 PM - Forum: GUI - Replies (4)

Hi

This is my very (very) first test to code a GUI and I know it'll be a very (very) long way Wink .

In the following example, printing textbox..... More

Print this item

  Need to upgrade this code.
Posted by: valentino1337 - Feb-19-2024, 04:08 PM - Forum: Homework - Replies (2)

Hey everyone. For my project i need to extract single characters from a given string which are separated from each other by the increasing number of p..... More

Print this item

  Help with extracting characters from string
Posted by: valentino1337 - Feb-19-2024, 09:58 AM - Forum: Homework - Replies (2)

For our project we need to extract single characters from a given string which are separated from each other by the increasing number of places. Each ..... More

Print this item

  Export Utility for Inventor
Posted by: cthull12 - Feb-18-2024, 04:58 PM - Forum: Code Review - No Replies

I am trying to create a utility for my position that will allow the user to input a list of parts that need exported to DXF files from Inventor, then ..... More

Print this item

  importing variables from module
Posted by: 8376459 - Feb-18-2024, 11:10 AM - Forum: General Coding Help - Replies (1)

hello experts,
i am learning python.
my question:
i am trying to import string variables from separate module to avoid retyping the same strings i..... More

Print this item

  main GUI is not shown
Posted by: flash77 - Feb-18-2024, 07:09 AM - Forum: GUI - Replies (3)

Dear community,

the main GUI of my application is not shown - I don't know why...
I'm using PyCharm, but the debugger doesn't start. (In the past ..... More

Print this item

  Fastest way tkinter
Posted by: Quatrixouuu - Feb-17-2024, 10:59 PM - Forum: General Coding Help - Replies (2)

Hello sorry for my bad english, it's not my mother tongue, I'm trying to make a python code that allows to make the fastest path between two points wh..... More

Print this item

  custom exception
Posted by: dcr - Feb-17-2024, 07:57 PM - Forum: General Coding Help - Replies (1)

I always get a nun2hgh error even when I input abc. What am I doing wrong?

Just figured it out. num2hgh is an exception so it's get's executed bef..... More

Print this item

  Get an average of the unique values of a column with group by condition and assign it
Posted by: klllmmm - Feb-17-2024, 05:53 PM - Forum: General Coding Help - No Replies

I'm trying to get an average of the unique values of a column with a group by condition.

In the method, I followed I had to create a new data frame..... More

Print this item

  [split] How to ask Smart Questions (thread title expansion)
Posted by: saifalikhan9 - Feb-17-2024, 11:57 AM - Forum: Homework - No Replies

[python]import tkinter as tk
from tkinter import ttk, messagebox
from reportlab.pdfgen import canvas

class GuillotineCuttingOptimizer:
def _..... More

Print this item

  The function of double underscore back and front in a class function name?
Posted by: Pedroski55 - Feb-17-2024, 11:30 AM - Forum: General Coding Help - Replies (9)

I am just looking at Mandelbrot fractals. This class comes from realpython.com I know next to nothing about classes.

I saved this class as a module..... More

Print this item

  Python Launcher (on Windows) only necessary when 2 or more Python versions installed?
Posted by: pstein - Feb-17-2024, 09:02 AM - Forum: General Coding Help - Replies (1)

I wonder when users need the Python Launcher.

I installed newest 64bit Python v3.12.2 on Windows. Thats my one and only Python installation.

So..... More

Print this item

  How to receive two passed cmdline parameters and access them inside a Python script?
Posted by: pstein - Feb-17-2024, 08:55 AM - Forum: General Coding Help - Replies (2)

Sorry for this newbie question:

Assume I have have a python script myscript.py (on Windows 10).

Now I want to call this script (from command lin..... More

Print this item

  an uncatchable asyncio exception from in 3.12.2 but not 3.11.5
Posted by: wangli - Feb-17-2024, 04:10 AM - Forum: General Coding Help - No Replies

For the following code:
[python]
from asyncio import create_task, run as aiorun, sleep as aiosleep
from asyncio import get_event_loop, get_running_..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 2 hours ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... 2 hours ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 2 hours ago racingsubby Larz60+ General Codin...
  Backward compatibility qu... 7 hours ago yutaozhou Gribouillis News and Disc...
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 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... 578784
  Tutorial Requ... 509644
  Web Scraping ... 441895
  Newbie with P... 385882
  New Users Int... 375708
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday
johnsonlucas83 Yesterday

User Panel Messages

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