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,452
» Latest member: chanatiff
» Forum threads: 38,564
» Forum posts: 174,747

Full Statistics

Online Users
There are currently 475 online users.
» 0 Member(s) | 470 Guest(s)
Yandex, Google, Applebot

Latest Threads
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
7 minutes ago
» Replies: 4
» Views: 135
How to use isintance with...
Forum: General Coding Help
Last Post: buran
9 hours ago
» Replies: 3
» Views: 124
Gomoku game problem
Forum: General Coding Help
Last Post: snl_9527
Today, 12:10 AM
» Replies: 6
» Views: 390
500 Internal Server error...
Forum: Web Scraping & Web Development
Last Post: Larz60+
Yesterday, 05:04 PM
» Replies: 3
» Views: 158
How to put my game loop i...
Forum: Game Development
Last Post: ekaintan1590
Yesterday, 12:54 PM
» Replies: 8
» Views: 2,053
Text frame
Forum: Homework
Last Post: Larz60+
Yesterday, 05:47 AM
» Replies: 1
» Views: 116
tkinter only storing last...
Forum: General Coding Help
Last Post: deanhystad
May-06-2025, 11:54 PM
» Replies: 8
» Views: 481
Question regarding Python
Forum: General Coding Help
Last Post: Larz60+
May-06-2025, 07:04 AM
» Replies: 1
» Views: 229
Brute Forcing Anagrams
Forum: General Coding Help
Last Post: MeganWillia
May-05-2025, 04:12 PM
» Replies: 13
» Views: 2,392
Picamera2 commands betwee...
Forum: General Coding Help
Last Post: deanhystad
May-05-2025, 02:15 PM
» Replies: 3
» Views: 412

 
  (CLOSED) CTkScrollableDropdown error: bad window path name ".!ctkscrollabledropdown"
Posted by: CopperGenie - Feb-29-2024, 10:05 PM - Forum: GUI - Replies (4)

(POST CLOSED)

Hello! I'm using tkinter, customtkinter (ctk), and CTkScrollableDropdown..... More

Print this item

  DF.groupby(col).min works, mean gets a "not implemented" error
Posted by: samgardner5 - Feb-29-2024, 04:20 PM - Forum: General Coding Help - Replies (3)

I'm running through some data visualization tutorials, and find in my installation of Anaconda on Windows and pandas the mean function doesn't seem to..... More

Print this item

  list and operator *
Posted by: akbarza - Feb-29-2024, 08:01 AM - Forum: General Coding Help - Replies (1)

hi
I saw the below snippet cod in a quiz on the net:

my_list=[1,2,3]
print(my_list*3)
print(3*my_list)
in that quiz, the output..... More

Print this item

  drawing a table with the status of tasks in each thread
Posted by: pyfoo - Feb-29-2024, 07:55 AM - Forum: General Coding Help - Replies (3)

Hi all!

I have no formal training but I get scripts working by searching the net and reading.

I am attempting to run a threaded script using `co..... More

Print this item

  [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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  problems with netcdf if I... 7 minutes ago Blaubart Blaubart General Codin...
  How to use isintance with... 9 hours ago Azdaghost buran General Codin...
  Gomoku game problem Today, 00:10 snl_9527 snl_9527 General Codin...
  500 Internal Server error... Yesterday, 17:04 ppowell777 Larz60+ Web Scraping ...
  How to put my game loop i... Yesterday, 12:54 temlotresid6 ekaintan1590 Game Developm...
  Text frame Yesterday, 05:47 dnabtuh Larz60+ Homework
  tkinter only storing last... 05-06, 23:54 bertschj1 deanhystad General Codin...
  Question regarding Python 05-06, 07:04 LPTtech Larz60+ General Codin...
  Brute Forcing Anagrams 05-05, 16:12 Anorak MeganWillia General Codin...
  Picamera2 commands betwee... 05-05, 14:15 GigiG deanhystad General Codin...
  How to space data on x ax... 05-05, 12:55 m_kdch m_kdch General Codin...
Most views
  The best Prog... 560314
  Tutorial Requ... 435795
  Web Scraping ... 425561
  Newbie with P... 356503
  Thread remain... 329805
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+ 12043
buran 8168
snippsat 7324
deanhystad 6818
metulburr 5151
Top referrers
Googlepro 22
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
chanatiff Today
Elkian6 Today
RubenBarrios Today
TvA Today
Sandrarox Today

User Panel Messages

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