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,245
» Latest member: cruisesfares
» Forum threads: 38,779
» Forum posts: 175,806

Full Statistics

Online Users
There are currently 54 online users.
» 1 Member(s) | 47 Guest(s)
Google, Bing, Applebot, AOL, Google Image, Pedroski55

Latest Threads
Can I Get a Full Refund I...
Forum: Board
Last Post: cruisesfares
19 minutes ago
» Replies: 0
» Views: 3
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
3 hours ago
» Replies: 5
» Views: 200
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
9 hours ago
» Replies: 2
» Views: 61
I’m building a Python Dat...
Forum: GUI
Last Post: Gribouillis
Yesterday, 07:46 PM
» Replies: 6
» Views: 175
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 76
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,596
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 168
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 159
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,624
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,398

 
  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: 217)
.txt   3LEG200123_P2.txt (Size: 815 bytes / Downloads: 236)
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: 233)
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

  Pandas hierarchical sum
Posted by: mariostg - Jan-26-2024, 03:17 PM - Forum: Data Science - Replies (1)

I have a data structure that looks like so
[output]
Cost Elements parent spent
1,1 2184AA None 0
1.1.1 ..... More

Print this item

  Produce One file Per PurchaseOrder
Posted by: jland47 - Jan-25-2024, 03:48 PM - Forum: General Coding Help - Replies (1)

I used a previous 3rd party python code and edited it to fit my new task, trying to understand each part of it and wanted to attempt to edit it on my ..... More

Print this item

  Apache Module
Posted by: jfha73 - Jan-25-2024, 03:42 PM - Forum: Web Scraping & Web Development - Replies (2)

Hey guys,

I currently have Apache running Python via CGI, but has anybody started to work on a module that allows Python to tun web pages? sort of ..... More

Print this item

  [subprocess] Why stdout sent to stderr?
Posted by: Winfried - Jan-25-2024, 02:50 PM - Forum: General Coding Help - Replies (3)

Hello,

Apparently, subprocess is currently the solution du jour to run an ext..... More

Print this item

  Triggering a ps1 script in remote windows server via http python request
Posted by: jasveerjassi - Jan-25-2024, 09:44 AM - Forum: General Coding Help - Replies (1)

I am trying to trigger a ps1 script in remote windows 2016 web server via http get request. This is the code i am trying.

Tried with GET and POST ..... More

Print this item

  Microsoft Teams - Sub-Channel Files Permissions
Posted by: IamJustAmir - Jan-25-2024, 05:08 AM - Forum: Bar - No Replies

Hello, I am new here. Can anyone show me a step-by-step guide on how to restrict users inside this private sub-channel to delete files that they have ..... More


Attached Files

Thumbnail(s)
       
Print this item

  Microsoft Teams Sub-Channel Permissions
Posted by: IamJustAmir - Jan-25-2024, 05:04 AM - Forum: Web Scraping & Web Development - No Replies

Hello, I am new here. Can anyone show me a step-by-step guide on how to restrict users inside this private sub-channel to delete files that they have ..... More


Attached Files

Thumbnail(s)
       
Print this item

  Syntax error for "root = Tk()"
Posted by: dlwaddel - Jan-25-2024, 02:40 AM - Forum: General Coding Help - Replies (15)

I get a syntax error for "root = Tk()" and can't figure it out. I am running Python 3.12 under Windows 11. Here is the code:

[python]>>> from tkint..... More

Print this item

  Open/save file on Android
Posted by: frohr - Jan-24-2024, 06:28 PM - Forum: General Coding Help - No Replies

Hi all, I have app using Kivy and I need open / save csv files. Under Windows/Linux it works well but not under Android. I see folders but no files. T..... More

Print this item

  Subprocess use and modify inputs
Posted by: PierreLCV - Jan-24-2024, 07:53 AM - Forum: General Coding Help - Replies (4)

Dear all,
I started python code in 2024 (a good resolution is not it ?) to use for a job project and i am currently blocked with the subprocess use...... More

Print this item

  minimax help
Posted by: NirmalJ - Jan-24-2024, 07:37 AM - Forum: General Coding Help - Replies (1)

I need help with the issue that the code is returning 1s for all the moves instead of 1s and 0s and -1s for the best or the worst moves. Also it is ma..... More


Attached Files

.py   board.py (Size: 3.55 KB / Downloads: 255)
.py   player.py (Size: 9.91 KB / Downloads: 262)
.py   tictac.py (Size: 1.2 KB / Downloads: 243)
Print this item

  Make entire script run again every 45 mo
Posted by: NDillard - Jan-23-2024, 09:40 PM - Forum: General Coding Help - No Replies

Newbie here with limited python knowledge.
I have a script that is dependent on 3 sensors to output gathered info. The original script is from the P..... More

Print this item

  i want to know the difference
Posted by: Naisuke - Jan-23-2024, 03:05 PM - Forum: General Coding Help - Replies (3)

[python]a=int(input("enter a number:"))
def check_prime_numbers():
for i in range(2, (a//2+1)):
if a%i==0 :
print(f"{a} i..... More

Print this item

  Path Planning
Posted by: prachibhanaria - Jan-23-2024, 10:11 AM - Forum: General Coding Help - No Replies

I am trying to write code in Python for A* and the Firefly algorithm merges code for multiobjective optimization path planning but I am facing an issu..... More


Attached Files

.py   Astar_FA.py_18jan.py (Size: 9.63 KB / Downloads: 245)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Can I Get a Full Refund I... 19 minutes ago cruisesfares cruisesfares Board
  Backward compatibility qu... 3 hours ago yutaozhou Gribouillis News and Disc...
  Help with Serial.write in... 9 hours ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... Yesterday, 19:46 tsgiannis Gribouillis GUI
  [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... 578772
  Tutorial Requ... 509601
  Web Scraping ... 441888
  Newbie with P... 385874
  New Users Int... 375624
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+ 12103
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
cruisesfares Today
thebigback Yesterday
dimitriwati Yesterday
johnsonlucas83 Yesterday
ColorTig Yesterday

User Panel Messages

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