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,614
» Latest member: Clement20
» Forum threads: 38,669
» Forum posts: 175,254

Full Statistics

Online Users
There are currently 246 online users.
» 0 Member(s) | 242 Guest(s)
Bing, Baidu, AOL, Google

Latest Threads
auto applying for jobs
Forum: General Coding Help
Last Post: Larz60+
6 hours ago
» Replies: 1
» Views: 85
please help with image re...
Forum: General Coding Help
Last Post: magnus28
Yesterday, 03:14 PM
» Replies: 5
» Views: 160
passing value from tkinte...
Forum: GUI
Last Post: deanhystad
Yesterday, 12:39 PM
» Replies: 4
» Views: 142
Gmpy2 Newbie Working on P...
Forum: General Coding Help
Last Post: SofiaJone
Yesterday, 06:39 AM
» Replies: 8
» Views: 2,711
Create bot to automate op...
Forum: General Coding Help
Last Post: liberwicca
Jul-25-2025, 11:26 PM
» Replies: 1
» Views: 23,552
How to use a proxy when w...
Forum: Web Scraping & Web Development
Last Post: Jemercyli
Jul-25-2025, 04:02 PM
» Replies: 1
» Views: 3,099
Key Logger
Forum: Homework
Last Post: Novaboxxx
Jul-25-2025, 02:42 AM
» Replies: 0
» Views: 90
How to Create Swagger/Ope...
Forum: Web Scraping & Web Development
Last Post: amandaevans
Jul-24-2025, 05:47 PM
» Replies: 6
» Views: 6,463
veri kazıma
Forum: Web Scraping & Web Development
Last Post: DeaD_EyE
Jul-24-2025, 07:30 AM
» Replies: 11
» Views: 414
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: MilesWeb
Jul-23-2025, 07:08 AM
» Replies: 5
» Views: 6,526

 
  [closed] "checked" variable (attribute?) origin?
Posted by: paul18fr - Feb-28-2024, 01:08 PM - Forum: GUI - Replies (4)

Hi

I've found this small snippet, and in the the_button_was_toggled method, i do not understand from where the [inline]checked[/in..... More

Print this item

  Algorithm for extracting comments from Python source code
Posted by: Pavel1982 - Feb-28-2024, 10:15 AM - Forum: General Coding Help - Replies (7)

I never worked with Python before, but now there is a task. There are several Python projects and I need to extract comments from the source code of t..... More

Print this item

  Installation module 'pyproj'
Posted by: QuentinR - Feb-28-2024, 09:35 AM - Forum: General Coding Help - Replies (1)

Hello everybody,

I have an issue with the module 'pyproj'. I installed it with the command prompt.

C:\------------------\Local\Programs\Python\P..... More

Print this item

  question of using not in if statement and ..
Posted by: akbarza - Feb-28-2024, 08:22 AM - Forum: General Coding Help - Replies (3)

hi
in the below code:
[python]"""
This is the "example" module.

The example module supplies one function, factorial(). For example,

>>> fact..... More

Print this item

  problem in output of a snippet code
Posted by: akbarza - Feb-28-2024, 07:57 AM - Forum: General Coding Help - Replies (2)

hi
assume the below snippet code(the code address is in the docstring of the code) :
[python] '''
from:https://www.knowledgehut.com/blog/programm..... More

Print this item

  mute spotify by the mixer of volume
Posted by: garze23 - Feb-27-2024, 05:42 PM - Forum: General Coding Help - No Replies

Hello,

I managed to make a script in python to mute spotify, but as I use Voicemetter, the sound from my application comes out of the VAIO3's virtu..... More

Print this item

Lightbulb Brute Force method for solving equation - help needed
Posted by: MariuszDyrkacz - Feb-27-2024, 01:32 PM - Forum: News and Discussions - Replies (2)

Hello,

Could anybody check if is possible to solve below equations by Brute Force method using Phyton? Unfortunately standard arithmetic or determi..... More

Print this item

  Need help opening pages when web scraping
Posted by: templeowls - Feb-26-2024, 08:16 PM - Forum: Web Scraping & Web Development - Replies (1)

I have the below code which scrapes this page: https://www.eeoc.gov/newsroom/search.

It works well but I also want it to open each url and scrape t..... More

Print this item

  Fred Economic Data API
Posted by: warrior42 - Feb-26-2024, 06:03 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

I was hoping to get a hand in setting up the Fred Economic Data API. I'm relatively new at using Python so I will need a basic understandin..... More


Attached Files

Thumbnail(s)
       
Print this item

Question [SOLVED] Correct way to convert file from cp-1252 to utf-8?
Posted by: Winfried - Feb-26-2024, 02:28 PM - Forum: General Coding Help - Replies (8)

Hello,

In a directory, I have a bunch of HTML files that were written in cp-1252 (ie. Latin1) that I need to convert to utf-8.

The following doe..... More

Print this item

  Organization of project directories
Posted by: wotoko - Feb-26-2024, 02:03 PM - Forum: General Coding Help - Replies (3)

Hi everyone! How do you organize your code? I like to separate everything into directories, preferably in the form of a monorepo. Custom libraries, se..... More

Print this item

  Explanation of code
Posted by: ejKDE - Feb-26-2024, 10:16 AM - Forum: General Coding Help - Replies (4)

Here's an example of the code. I'd like to know what ctx is here. It's not passed anywhere to a function and i can't use get('formats')[::-1] w..... More

Print this item

  Scratch pad for writing forum threads / posts with markdown/markup
Posted by: Drone4four - Feb-25-2024, 07:32 PM - Forum: Bar - Replies (3)

What do you people use for drafting long forum threads / posts / Stack Overflow questions?

For years I’ve been using Google Docs which I realize is..... More

Print this item

  problem in using unittest
Posted by: akbarza - Feb-25-2024, 11:54 AM - Forum: General Coding Help - Replies (2)

hi
I have the two below codes:
[python]#one.py
def add(x,y):
return x+y

def subtract(x,y) :
return x-y

def multiply(x,y):..... More

Print this item

  Python trivial endgame engine is not working as expected
Posted by: max22 - Feb-24-2024, 04:41 PM - Forum: General Coding Help - No Replies

I have detected where roughly is a problem. It is in this function which gets processed for node "1" only, see the output section below: (I'm trying t..... More

Print this item

  Operation result class
Posted by: SirDonkey - Feb-24-2024, 04:14 PM - Forum: General Coding Help - Replies (6)

Hi,
I am pretty new to python and did some kind of return class which returns an outcome, user message and data when i call a method. I wonder if that..... More

Print this item

  fast MCTS in Python
Posted by: SteepeH - Feb-23-2024, 05:56 PM - Forum: General Coding Help - Replies (1)

Please recommend a fast and efficient implementation of Monte Carlo Tree Search (Python library or github project) for board games. What I found was s..... More

Print this item

  Decorators @ annotation
Posted by: drcl - Feb-23-2024, 04:25 PM - Forum: General Coding Help - Replies (3)

I'm not new to coding but new to Python. Decided to go through the CS50P course to get up to speed. Early on decorators were introduced which I thou..... More

Print this item

  Excel from SAP - dealing with formats and VBA
Posted by: MasterOfDestr - Feb-23-2024, 08:56 AM - Forum: General Coding Help - Replies (7)

Hello,

I'm working on automatizing one report using Python.
In general I have around 20 excel files (.xlsx and .xlms) that I filter base on some c..... More

Print this item

  Updating formulas in Excel - best solution
Posted by: MasterOfDestr - Feb-23-2024, 08:53 AM - Forum: General Coding Help - Replies (4)

Hello,

I'm working on automatizing one report using Python.
In general I have around 20 excel files (.xlsx and .xlms) that I filter base on some c..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  auto applying for jobs 6 hours ago alextony85 Larz60+ General Codin...
  please help with image re... Yesterday, 15:14 magnus28 magnus28 General Codin...
  [Tkinter] passing value f... Yesterday, 12:39 iqbshaik deanhystad GUI
  Gmpy2 Newbie Working on P... Yesterday, 06:39 charlesrkiss SofiaJone General Codin...
  Create bot to automate op... 07-25, 23:26 JonatasCavalini liberwicca General Codin...
  How to use a proxy when w... 07-25, 16:02 swiftproxy Jemercyli Web Scraping ...
  Key Logger 07-25, 02:42 Novaboxxx Novaboxxx Homework
  How to Create Swagger/Ope... 07-24, 17:47 tlopezdh amandaevans Web Scraping ...
  veri kazıma 07-24, 07:30 fehmikonkur DeaD_EyE Web Scraping ...
  Can I develop a live vide... 07-23, 07:08 mtrkhan MilesWeb Web Scraping ...
  python GUI - which to use... 07-23, 05:21 Johnse roshanchoudhary News and Disc...
Most views
  The best Prog... 572844
  Tutorial Requ... 485990
  Web Scraping ... 437306
  Newbie with P... 380354
  Thread remain... 351472
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12074
buran 8175
snippsat 7352
deanhystad 6865
metulburr 5152
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Clement20 Today
connieann Yesterday
SINDHUJA Yesterday
SofiaJone Yesterday
Hiddeninplainsite Yesterday

User Panel Messages

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