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,397
» Latest member: atlerpitto4955
» Forum threads: 38,824
» Forum posts: 176,028

Full Statistics

Online Users
There are currently 39 online users.
» 1 Member(s) | 31 Guest(s)
Bing, Mojeek, Google, Applebot, AOL, Internet Archive, perfringo

Latest Threads
Merge video with subtitle...
Forum: General Coding Help
Last Post: Biks
8 minutes ago
» Replies: 27
» Views: 15,494
Shield Of Sparrows Epub D...
Forum: General Coding Help
Last Post: atlerpitto4955
11 minutes ago
» Replies: 0
» Views: 8
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 121
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,602
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 199
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,614
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 170
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 324
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,126
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,984

 
  problem usage of static method
Posted by: akbarza - Feb-02-2024, 08:34 AM - Forum: General Coding Help - Replies (5)

hi
in the below code:
[python]'''
static method
https://builtin.com/software-engineering...python-cls
'''


class Math:
@staticm..... More

Print this item

  coma separator is printed on a new line for some reason
Posted by: tester_V - Feb-02-2024, 06:26 AM - Forum: General Coding Help - Replies (4)

Gentlemen!
Ladies if any?!

I have never seen it before, Confused I'm formatting a string, separating vars by a coma, and for some reason, the..... More

Print this item

  Matching Data - Help - Dictionary
Posted by: manuel174102 - Feb-01-2024, 10:21 PM - Forum: General Coding Help - Replies (1)

Hello everyone...

I need to match two huge excel datasets. As a simple example, they look like this:

DataSetA: There is random text, and then a..... More

Print this item

  Spyder console zoom in not working?
Posted by: Dionysis - Feb-01-2024, 09:48 PM - Forum: General Coding Help - Replies (2)

Hello!
Using Spyder 5.5.0 standalone on Windows 11 home 64 bit.
Somehow, only the shortcut Ctr+- is working on the console, i.e. the zoom out. The s..... More

Print this item

  Python Developer (part time / contract)
Posted by: notiforand - Feb-01-2024, 08:55 PM - Forum: Jobs - No Replies

Supabase is seeking a Python Developer to lead and maintain our open-source Python libraries. It’s a contract position.

Supabase is an open-source ..... More

Print this item

  How can I pause only one object?
Posted by: actualpy - Feb-01-2024, 05:52 PM - Forum: General Coding Help - Replies (1)

I want to pause only one object in my program. I am using time.sleep(). Is there any other function in Python or other libraries that can do this? Tha..... More

Print this item

  super() and order of running method in class inheritance
Posted by: akbarza - Feb-01-2024, 07:21 AM - Forum: General Coding Help - Replies (7)

hi in code:
[python]'''
from:https://stackoverflow.com/questions/64740117/how-method-resolution-order-mro-is-working-in-this-python-code
title of t..... More

Print this item

  Date Time Series Help...Please
Posted by: spra8560 - Feb-01-2024, 04:24 AM - Forum: General Coding Help - Replies (2)

Hello,

I am trying to figure out why I can't get this to work. I have a SQL server database and I am able to connect to it and query it by pyodbc ..... More

Print this item

  Converting column of values into muliple columns of counts
Posted by: highland44 - Feb-01-2024, 12:48 AM - Forum: General Coding Help - No Replies

Hi everyone.

I have a dataframe in Python that has the following format:

Cyc MA
S1 1
S1 5
S2 7
S3 2
S3 6
S3 4
S4 13
S5 1
S5 1

I'm..... More

Print this item

  Energy Forecast with SARIMAX
Posted by: PatiencePlease - Jan-31-2024, 11:53 PM - Forum: Data Science - No Replies

I'm trying to model household energy consumption forecast with SARIMAX, but I have a really bad forecast as you can see to the attachment.
I tried to..... More


Attached Files

Thumbnail(s)
   
Print this item

  Birçoğundan çoğuna Django wamp sunucusunda çalışmıyor
Posted by: TMSUT - Jan-31-2024, 11:36 PM - Forum: Web Scraping & Web Development - Replies (2)

When I run Django locally, the many-to-many relationship works, but when I run it on WampServer it says the data has been saved to the table, but the ..... More

Print this item

  tkinter two windows instead of one
Posted by: jacksfrustration - Jan-31-2024, 03:45 PM - Forum: GUI - Replies (7)

I am trying to write a program using tkinter. I created a Class and in the init i create a few lists. The window consists of entrys, optionmenus, labe..... More

Print this item

  get list of dates in past month, current and upcoming month
Posted by: jacksfrustration - Jan-31-2024, 03:14 PM - Forum: General Coding Help - Replies (4)

trying to make a list which i will consist of the dates in a (date day month year) format of the past three months. i finally came up with the upcomi..... More

Print this item

  Help copying a column from a csv to another file with some extras
Posted by: g0nz0uk - Jan-31-2024, 10:18 AM - Forum: General Coding Help - Replies (3)

Hello,

I need to copy the contents of a .csv, that gets dumped from SQL each night to a folder location on my Ubuntu server that contains 100s of I..... More

Print this item

  Python Coding in Power BI Visual
Posted by: vjrans - Jan-31-2024, 07:54 AM - Forum: General Coding Help - No Replies

Hello,

I am BI Report developer, but new to Python. I have to use Python coding to generate Gantt chart (will not use third party visual available ..... More


Attached Files

Thumbnail(s)
   
Print this item

  point transformation software in space
Posted by: johnjsi - Jan-31-2024, 05:46 AM - Forum: General Coding Help - Replies (2)

Hello community,

Project to propose, I am looking for help to develop a tool in python, I am a geometer apprentice, I would like to have a personaliz..... More


Attached Files

.txt   3LEG200123_P1.txt (Size: 955 bytes / Downloads: 233)
.txt   3LEG200123_P2.txt (Size: 815 bytes / Downloads: 250)
Print this item

  Isometric game pygame Tiled
Posted by: howardberger - Jan-31-2024, 03:52 AM - Forum: Game Development - Replies (1)

Hi there!

I'm interested in creating an isometric game using Pygame, specifically with isometric movement on a map created with Tiled. I would like..... More

Print this item

  casting types rewrite
Posted by: dedagent0900 - Jan-30-2024, 11:02 PM - Forum: Homework - Replies (3)

I am meant to rewrite the end of the code.

The original code:
[python]
#!/usr/bin/python

# Don't change the variables here - do it in the pr..... More

Print this item

  make widgets disappear from tkinter
Posted by: jacksfrustration - Jan-30-2024, 07:21 PM - Forum: GUI - Replies (12)

hello
i am writing a workout tracker app. i have the option of adding rows of information to save multiple workout data at the same time. i accomplis..... More

Print this item

  Malicious PyPI Packages Slip WhiteSnake InfoStealer Malware onto Windows Machines
Posted by: rob101 - Jan-30-2024, 07:58 AM - Forum: News and Discussions - Replies (3)

This, from The Hacker News, broke yesterday.

Just be mind..... More

Print this item

  Heuristic for GBFS Maze
Posted by: RockBlok - Jan-30-2024, 12:12 AM - Forum: Homework - No Replies

Not really sure this could be called homework as there aren't any assignments, but it feels like a homework-ish question so figure I'd post it here. T..... More

Print this item

  Algorithm with graph
Posted by: nkiki - Jan-29-2024, 03:32 PM - Forum: Homework - Replies (4)

Detect a bottleneck of a graph, i.e., Min-Cut, using the Max-flow algorithm. In other words, the algorithm should find a set of edges F ⊆ E such that ..... More

Print this item

  need help with data analysing with python and sqlite
Posted by: Hardcool - Jan-29-2024, 11:20 AM - Forum: General Coding Help - Replies (2)

Hi,
i have a problem creating a python program to analyzing a database that i created in sqlite from a csv file.
the database include 4 rows.
3 of ..... More

Print this item

  Class test : good way to split methods into several files
Posted by: paul18fr - Jan-29-2024, 11:06 AM - Forum: General Coding Help - Replies (5)

Hi,

Based on the following link, I've been performing basic tests to find a way to split methods ..... More


Attached Files

.zip   forum_class.zip (Size: 1.52 KB / Downloads: 247)
Print this item

  problem with print command in super()
Posted by: akbarza - Jan-29-2024, 07:23 AM - Forum: General Coding Help - Replies (5)

hi
in the below code:
[python]
'''
Python Multiple Inheritance and MRO
super usage() in python
from: https://www.geeksforgeeks.org/python-super/..... More

Print this item

  Behavior of statistics.mean
Posted by: cametan - Jan-29-2024, 06:49 AM - Forum: General Coding Help - Replies (4)

Hello.

Let's make a co-recursive class, or unfoldr somehow popular among functional programming folks, relying on its definition of the Haskell progr..... More

Print this item

  Need Help for homework
Posted by: Treeeeee_0923 - Jan-29-2024, 04:32 AM - Forum: Homework - Replies (2)

[python]import tkinter
import random

colours = ['Red', 'Blue', 'Green', 'Pink', 'Black', 'Yellow', 'Orange', 'White', 'Purple', 'Brown']
color_he..... More

Print this item

  Absolute paths in subprocess - file not found
Posted by: kittyticker - Jan-28-2024, 05:07 PM - Forum: General Coding Help - Replies (4)

I've tried every permutation I can think of to get rid of this message - eg variables, literals, back slashes, forward slashes etc etc (thinking that ..... More

Print this item

  emcee.EnsembleSampler ValueError
Posted by: Dimotrov - Jan-28-2024, 08:53 AM - Forum: Homework - No Replies

Hey, I have a problem with my homework. The goal of the first half is to sample 50 values of r_0,i from a Gaussian distribution with mean mu = 1 and s..... More

Print this item

  Extracting specific file from an archive
Posted by: tester_V - Jan-28-2024, 04:48 AM - Forum: General Coding Help - Replies (4)

Greetings!
I need to extract a specific file from an archive. The archive is a zipped directory with subdirectories and a bunch of other files. I nee..... More

Print this item

  [SOLVED] Pad strings to always get three-digit number?
Posted by: Winfried - Jan-27-2024, 03:46 PM - Forum: General Coding Help - Replies (2)

Hello,

I've tried different things, but still can't strings to always be left-padded, three-digits long even for strings that contain a dash sign:..... More

Print this item

Star Leapcell: The Python-Friendly Alternative to Heroku + Airtable Hybrid
Posted by: IssacChan - Jan-27-2024, 01:47 PM - Forum: Web Scraping & Web Development - Replies (1)

We are excited to announce that Leapcell has officially launched its Beta public testing.

Leapcell: https://leapcell.io/[/u[url=https://python-forum.io/thread-41505.html]..... More

Print this item

  Shortest path from s to t using python
Posted by: nkiki - Jan-27-2024, 09:45 AM - Forum: Homework - Replies (9)

(V, E) be a graph and two vertices s and t. B ⊆ V be some set of vertices. How many vertices of the set B can there be at maximum on a shortest path f..... More

Print this item

  unable to remove all elements from list based on a condition
Posted by: sg_python - Jan-27-2024, 09:06 AM - Forum: General Coding Help - Replies (3)

list=[6.2,5.9,4.8,6.1,6.1,6.5,5.9,5.8,6.2]

for a in list:
    if a<=6.0:
       list.remove(a)
      
print(list)
The outpu..... More

Print this item

  "No gradients provided for any variable" error in Wasserstein GAN
Posted by: Kartik_Tulsian - Jan-27-2024, 06:26 AM - Forum: Data Science - No Replies

I have been working on a GAN model that is designed to output smiles sequences. During my training step I have been getting the error "Value Error: No..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Merge video with subtitle... 8 minutes ago Pavel_47 Biks General Codin...
  Shield Of Sparrows Epub D... 11 minutes ago atlerpitto4955 atlerpitto4955 General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  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...
Most views
  The best Prog... 580442
  Tutorial Requ... 519754
  Web Scraping ... 442789
  Newbie with P... 386996
  New Users Int... 386652
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
atlerpitto4955 Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday
zcharlesoogleto9533 Yesterday

User Panel Messages

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