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,239
» Latest member: racingsubby
» Forum threads: 38,777
» Forum posts: 175,795

Full Statistics

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

Latest Threads
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
1 hour ago
» Replies: 1
» Views: 24
Data Science
Forum: Data Science
Last Post: mamta25
1 hour ago
» Replies: 3
» Views: 2,564
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
8 hours ago
» Replies: 1
» Views: 97
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 147
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 125
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 126
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,279
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,378
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,578
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 205

 
  Dijkstra algorithm helping find new space
Posted by: 1bumcheek - Jul-26-2023, 09:59 PM - Forum: General Coding Help - Replies (7)

Hello people I am kind of new to coding and I am making a robot that moves through a maze that is 5 by 5. I am writing dijkstras algorithm to help me,..... More

Print this item

  Class that cannot be initialized
Posted by: Gribouillis - Jul-26-2023, 07:43 PM - Forum: Code sharing - No Replies

In the process of using the Bridge pattern for some code, I ended up wanting a class which client code could not instantiate directly because the clas..... More

Print this item

  Some help with my first python class and importing ....im making a lidar program
Posted by: jttolleson - Jul-26-2023, 06:15 PM - Forum: General Coding Help - Replies (7)

Hello all,
wow, im tired and have few solutions in the morning now...ok....well maybe i will find some help here.
I am making a personal lidar ..... More


Attached Files

Thumbnail(s)
       
Print this item

  GUI crashes
Posted by: flash77 - Jul-26-2023, 04:37 PM - Forum: GUI - Replies (3)

Hello, I need some help in GUI programming because unfortunately I can't find the error...

I would like to get a folder path using a FolderBrowserD..... More

Print this item

  Pillow alternative?
Posted by: kucingkembar - Jul-26-2023, 08:29 AM - Forum: General Coding Help - Replies (4)

hi, sorry for my bad English,
I tried to remove some lines of a webtoon picture if the line only contain 1 color
(it is just an example, I cannot sha..... More

Print this item

  Is this a multiprocessing bug in Python - or am I doing something wrong?
Posted by: haimat - Jul-26-2023, 07:04 AM - Forum: General Coding Help - Replies (1)

Hello everyone,

I have a huge problem with one of my Python server programs, and since weeks we cannot figure out how to solve it. I really hope yo..... More

Print this item

  where module is loaded from
Posted by: Skaperen - Jul-25-2023, 10:03 PM - Forum: News and Discussions - Replies (1)

i have a module with some code inside that needs to know what exact file path it was loaded from. another file in the same directory will have some d..... More

Print this item

  Chi2 minimization with scipy
Posted by: Einsiedler - Jul-25-2023, 12:55 PM - Forum: Data Science - Replies (1)

Hello everyone,

I am trying to test the minimize function of scipy using a user-defined chi2 function. The idea is to find the o..... More

Print this item

  TypeError Decoration Intuition
Posted by: EddieG - Jul-25-2023, 09:56 AM - Forum: General Coding Help - Replies (1)

The instructor did not completed the code and i tried to run it, I am getting a name error why?
Here is the code:
def calcFormula1(x,y,z):
retu..... More

Print this item

  Recursive regular expressions in Python
Posted by: risu252 - Jul-24-2023, 11:35 PM - Forum: General Coding Help - Replies (2)

Hi!

Today I ran into a problem where I had to extract a JSON file passed in a YAML file within a string (don't ask me why LOL). Curly braces indicate..... More

Print this item

  Access list of dictionaries
Posted by: britesc - Jul-24-2023, 10:52 AM - Forum: General Coding Help - Replies (4)

I have used sqlitedict to save a number of dictionaries into a database.
eg
ford = {'make': 'Ford', 'wheels': '4', 'colour': 'black'}
mahindra = {..... More

Print this item

  Feature Selection in Machine Learning
Posted by: shiv11 - Jul-24-2023, 10:25 AM - Forum: Data Science - Replies (4)

Question:

I am working on a machine learning project, and I have a large number of features in my dataset. However, I suspect that some of these fe..... More

Print this item

  urllib can't find "parse"
Posted by: rjdegraff42 - Jul-23-2023, 10:21 PM - Forum: General Coding Help - Replies (6)

I don't know if it's just me having a "senior" moment, but when I run the following code in idle

[python]
import urllib

print(urllib.parse.quot..... More

Print this item

Shocked kindly support with this dropna function not working
Posted by: gheevarpaulosejobs - Jul-23-2023, 07:14 PM - Forum: General Coding Help - Replies (2)

Hello,

I am beginner in python. This is my code.

In line 12, i wrote a "dropna" function to avoid a row having a blank field in the column nam..... More


Attached Files

.xlsx   PRACTICE WORK BOOK.xlsx (Size: 9.65 KB / Downloads: 258)
Print this item

  Paramiko Server -- Exception (server): Error reading SSH protocol banner
Posted by: ujlain - Jul-23-2023, 04:42 PM - Forum: Networking - Replies (3)

For the code snippet below , I am unable to trap error (as enumerated as tracebac)
[python]
hostF = "keys/id_rsa"
HOST_KEY = paramiko.RSAKey(filena..... More

Print this item

  I try to import Vpython and I get a "ZeroDivisionError"
Posted by: Jon2222 - Jul-23-2023, 02:10 PM - Forum: General Coding Help - Replies (16)

I'm new on Python, maybe my question is simple.
I want to simulate some physical situations. I learned that Vpython makes it easy to create simple vis..... More

Print this item

  else: sytax error
Posted by: EddieG - Jul-23-2023, 02:06 PM - Forum: General Coding Help - Replies (3)

Hello,
I ha been following an example on lesson letter by letter of the code but els comes out as invalid systax.
here is the code.
[python]
#mult..... More

Print this item

Bug PyQt5 _translate not passing argument
Posted by: Lahearle - Jul-23-2023, 05:01 AM - Forum: GUI - Replies (2)

So converted .ui to .py with -x -o method, and I have a problem:

[python]
from PyQt5 import QtCore, QtGui, QtWidgets
import sys


class Ui_Mai..... More

Print this item

  Need help with 'str' object is not callable error.
Posted by: Fare - Jul-23-2023, 01:49 AM - Forum: General Coding Help - Replies (4)

I need some help. Whenever I try to run the code, it says that the showcase() and line 696 with the pot=input() is a 'str' object is not callable err..... More

Print this item

  Type Error: Unsupported Operand
Posted by: jhancock - Jul-22-2023, 08:04 PM - Forum: General Coding Help - Replies (2)

Greetings! I am new to this group and apologize in advance if I'm not asking for help properly.

I'm trying to figure out this error:

TypeError..... More

Print this item

  change directory of save of python files
Posted by: akbarza - Jul-22-2023, 01:49 PM - Forum: General Coding Help - Replies (3)

hi
i save my python files in my pc in drive d at d:\pythonfiles folder.
when I want to save a new python file or I want to open a python ..... More

Print this item

  Line by line execution of instructions
Posted by: JosephR - Jul-22-2023, 01:26 PM - Forum: General Coding Help - Replies (3)

Can I force a program to execute instructions in the order they are written, line by line

Print this item

  place 2 windows exactly above each other
Posted by: janeik - Jul-22-2023, 08:03 AM - Forum: General Coding Help - Replies (3)

hi.
I have 1 root window containing controls and a map widget,showing a modern map.
(approx line no 12-26)
and
1 top window. containing a label wi..... More


Attached Files

Thumbnail(s)
   
Print this item

  Downloading time zone aware files, getting wrong files(by date))s
Posted by: tester_V - Jul-21-2023, 11:57 PM - Forum: General Coding Help - Replies (9)

Greetings!
With a lot of help from this forum, I finally made a script for downloading (yesterday in Kuala_Lumpur) my today's files.
Still, my scrip..... More

Print this item

  Need some advice when to use self
Posted by: flash77 - Jul-21-2023, 07:21 PM - Forum: GUI - Replies (4)

Hello,
I need some advice on how to use "self" correctly.

I want to write an app that consists of a main window "MainWindow" and a few additional ..... More

Print this item

Thumbs Down Python Error
Posted by: MahendraYadav - Jul-21-2023, 05:07 PM - Forum: General Coding Help - No Replies

Hi,
I will try to Instagram Display profile picture download[ from insta downloader] and sending what's app messages using pywhatkit.While I running ..... More

Print this item

  Help on the User Interface
Posted by: Afia - Jul-21-2023, 04:51 PM - Forum: General Coding Help - Replies (1)

Hello!
I am new to Python. I have some doubts about the Streamlit UI.
As in the screenshot, the value is not visible. How can I change the color of ..... More


Attached Files

Thumbnail(s)
   
Print this item

  New to Python - Not sure why this code isn't working - Any help appreciated
Posted by: TheGreatNinx - Jul-21-2023, 03:53 PM - Forum: General Coding Help - Replies (4)

Hi there! New to this forum and Python (Technically my first language I am learning to program in! :D) and I'm running into an issue that I don't qui..... More

Print this item

  How to simplify widget creation?
Posted by: flash77 - Jul-21-2023, 03:38 PM - Forum: GUI - Replies (6)

Hello,
I'm still quite inexperienced in writing my own classes and in using "self".
My question is about the MainWindow class.
How can I simplify w..... More

Print this item

Lightbulb Statically checking physical units in Python
Posted by: Wirden - Jul-21-2023, 02:13 PM - Forum: Code sharing - No Replies

Hi everyone !

This is my first post here so I hope I am not posting things in the wrong category.

I wanted to present to you the new library I p..... More

Print this item

  Problem with my code slowing down and crashing
Posted by: SuchUmami - Jul-21-2023, 09:53 AM - Forum: General Coding Help - Replies (1)

I've wrote some code that fetches market data from a crypto exchange and then processes it in house. When I first start running it, it's absolutely fi..... More

Print this item

  Help with pyFAST error
Posted by: LT72884 - Jul-21-2023, 12:15 AM - Forum: Data Science - Replies (1)

hey guys. im having some issues with a script. Now, before i begin, i have ZERO programming experience so i have no idea what im doing, BUT i have bee..... More

Print this item

  Jupyter Notebook TypeError Holidays entity loader class
Posted by: bmanning20 - Jul-20-2023, 06:52 PM - Forum: Data Science - No Replies

Hello. I getting an error when running cells in Jupyter Notebook file. Please show me how to fix this. I am interested in anyone with Jupyter and Pyth..... More

Print this item

  A small bug ? (Perhaps an ant?)
Posted by: rdmaia - Jul-20-2023, 04:53 PM - Forum: General Coding Help - Replies (1)

Hi all! Regards! Smile

I'm new at Python ecossystem and some days behind i got a problem.

I'm using Python 3.12 at W10

'My' bug is s..... More

Print this item

  Analyzing a code base
Posted by: pitosalas - Jul-20-2023, 03:59 PM - Forum: News and Discussions - No Replies

i have a python code base. I want to learn about it. What are some tools that do some automated analysis of a code base for style, architecture, docu..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] print two differe... 1 hour ago Reema Gribouillis General Codin...
  Data Science 1 hour ago Oshadha mamta25 Data Science
  [Tkinter] I’m building a ... 8 hours ago tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [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
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
Most views
  The best Prog... 578722
  Tutorial Requ... 509383
  Web Scraping ... 441865
  Newbie with P... 385822
  New Users Int... 375279
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
racingsubby Today
Reema Today
lary_p Yesterday
Cristiano 11-08
Alfredd 11-08

User Panel Messages

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