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,932
» Latest member: XenonBlack
» Forum threads: 38,721
» Forum posts: 175,502

Full Statistics

Online Users
There are currently 44 online users.
» 0 Member(s) | 34 Guest(s)
Apple, Google, AOL, Facebook, AOL

Latest Threads
Too much space between gr...
Forum: GUI
Last Post: RonR
1 hour ago
» Replies: 2
» Views: 855
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
5 hours ago
» Replies: 0
» Views: 41
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
9 hours ago
» Replies: 1
» Views: 352
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,438
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,516
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 375
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 118
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,882
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,136
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 818

 
  Dispatcher pattern
Posted by: Gribouillis - Aug-06-2023, 07:53 PM - Forum: Code sharing - Replies (1)

I came across an interesting blog post (in french) about how to i..... More

Print this item

  Function parameter not writing to variable
Posted by: Karp - Aug-06-2023, 07:38 PM - Forum: General Coding Help - Replies (5)

Hi,

I just started learning python and have run into a problem with writing a function recombining a list of separated characters into a string. Wh..... More

Print this item

  Help with flowchart maker program
Posted by: bluebouncyball - Aug-06-2023, 06:45 PM - Forum: General Coding Help - Replies (2)

Hello! I am currently a pretty fresh coder in Python and general programming and have been trying to create a Flowchart Maker. The only import I have ..... More

Print this item

  How can I design shapes on a curve in python?
Posted by: mervea - Aug-06-2023, 04:15 PM - Forum: General Coding Help - Replies (2)

I have coordinates of an airfoil curve. But I want to design semi-circular shapes that have equal distance of center on this curve's upper line.
I p..... More

Print this item

  Trying to make a password generator
Posted by: Jankofcik - Aug-06-2023, 12:14 PM - Forum: General Coding Help - Replies (1)

I'm trying to make a password generator that restarts if you're not satisfied with your password. The generator itself works perfectly, but when I try..... More

Print this item

  Trying to understand strings and lists of strings
Posted by: Konstantin23 - Aug-06-2023, 10:04 AM - Forum: General Coding Help - Replies (2)

Lets say we have a string a = "apple" and we wish to add this variable in a list fruits = [], using [inline]fruits.a..... More

Print this item

  can not import anaconda pandas module. PySpark pandas module is imported!!
Posted by: aupres - Aug-06-2023, 01:09 AM - Forum: General Coding Help - No Replies

My visual Studio Code is integrated with apache spark module. So pyspark module is imported with python codes. But I try to import anaconda pandas and..... More

Print this item

Exclamation Error when closing the main window with destroy
Posted by: TomasSanchexx - Aug-06-2023, 12:25 AM - Forum: GUI - Replies (1)

Hi, I have a problem. I'm trying to close the main window when logging in, with destroy(), but it throws me an error, why? what am I doing wrong? How ..... More

Print this item

  return next item each time a function is executed
Posted by: User3000 - Aug-05-2023, 09:33 PM - Forum: General Coding Help - Replies (19)

hi everyone,

When I loop through my dictionary "job_applicants", it prints out every name at once.

However, I want one name printed each time I..... More

Print this item

  How can I access objects or widgets from one class in another class?
Posted by: Konstantin23 - Aug-05-2023, 05:28 PM - Forum: General Coding Help - Replies (3)

Here I am working with two different tkinter frame classes, in which I am trying to access the combobox widget service_list from the ..... More

Print this item

  Strange argument count error
Posted by: rowan_bradley - Aug-05-2023, 04:57 PM - Forum: General Coding Help - Replies (3)

I am trying to call a function in a library written by someone else. Here is my code:
[python]
import growattServer
import datetime
import time
f..... More

Print this item

  Wrong type error
Posted by: rowan_bradley - Aug-04-2023, 04:29 PM - Forum: General Coding Help - Replies (6)

I'm trying to use a library writen by someone else. Here is a simplified version of my source code:

[python]import growattServer
import datetime
..... More

Print this item

  Help create scrollbar in chatbot with tkinter on python
Posted by: fenec10 - Aug-04-2023, 01:33 PM - Forum: GUI - Replies (6)

Hi everyone, I'm trying to create a chatbot, the chatbot is ok but I'm struggling with the scrollbar, when I run my code everything is ok except the s..... More

Print this item

  Coding answer for newbie
Posted by: cg3 - Aug-04-2023, 01:22 PM - Forum: Homework - Replies (2)

Write a Python program to find out the average of a set of integers. The integers are given to your program as a single input separated by spaces.

..... More

Print this item

  File Chooser will not close
Posted by: noob82 - Aug-04-2023, 03:32 AM - Forum: GUI - Replies (10)

Good Evening,

I just learned about the existence of tkinter as I was trying to create a dialog box to allow users to select file, and then import t..... More

Print this item

  doing string split with 2 or more split characters
Posted by: Skaperen - Aug-04-2023, 02:53 AM - Forum: General Coding Help - Replies (22)

if i have the string 'ab|cd!ef|gh!ij|kl!mn' and want to split it into ['ab','cd','ef','gh','ij','kl','mn'], is there..... More

Print this item

  AttributeError: '_tkinter.tkapp' object has no attribute 'username'
Posted by: Konstantin23 - Aug-03-2023, 08:56 PM - Forum: General Coding Help - Replies (4)

I was following up with multiple tutorials online for designing a tkinter gui app for a password manager program I made recently, and so I split up th..... More

Print this item

Sad Why it won't run?
Posted by: hansemso - Aug-03-2023, 08:30 PM - Forum: General Coding Help - Replies (6)

https://replit.com/@hansemso/arithmeticf...er#main.py

Why won't it run? I'm doing the freecodecamp Python test #1. This is somebody's sample I..... More

Print this item

  Pyserial issues with proper loops and binary
Posted by: jttolleson - Aug-03-2023, 07:59 PM - Forum: General Coding Help - Replies (16)

So i bought my python programmable Lidar Chip and havent recieved data yet because after opening it up in pyserial i have no idea how to test it...
..... More


Attached Files

Thumbnail(s)
               
Print this item

  flushing output buffers
Posted by: Skaperen - Aug-03-2023, 01:36 AM - Forum: News and Discussions - Replies (4)

output to 2 open files that are buffered may get alternating output calls. when that output finally goes to a common file destination, output is mixe..... More

Print this item

  Pip install problem with Python 3.7, not 3.9
Posted by: Mark98 - Aug-02-2023, 08:24 AM - Forum: General Coding Help - Replies (2)

Hi,

I have a Raspberry PI in OS Raspbian GNU/Linux v 10. Debian version is 10.13
Till some days ago I used Python 2.7 without problem.
I had to u..... More

Print this item

  Problem trying to install UniCurses on Python-3.12 / W10-64
Posted by: rdmaia - Aug-02-2023, 07:49 AM - Forum: General Coding Help - Replies (5)

Hi all!
Regards

I'm trying to install UniCurses on Python-3.12, under W10-64

Downloaded its pack (UniCurses-1.2.win32.exe build 10/nov/2010), b..... More

Print this item

  First piece of code
Posted by: Bearwulf - Aug-02-2023, 02:49 AM - Forum: General Coding Help - Replies (2)

Hey team,

I have worked on a piece of code that should be able to read my question on sustainability and produce me an answer with some ideas based..... More

Print this item

  Rename files in a folder named using windows explorer
Posted by: hitoxman - Aug-01-2023, 11:42 PM - Forum: General Coding Help - Replies (3)

Hi everyone,

Many of us know we can rename multiple files with windows explorer following the steps here:

..... More

Print this item

  QListWidget, no item was selected
Posted by: flash77 - Aug-01-2023, 06:37 PM - Forum: GUI - Replies (4)

Hi,

if I have a listwidget, is it possible to detect if no item of the listwidget was selected?

I searched the web, but found nothing helpful........ More

Print this item

  Error on import: SyntaxError: source code string cannot contain null bytes
Posted by: kirkwilliams2049 - Aug-01-2023, 03:11 PM - Forum: General Coding Help - Replies (10)

I am following a Python tutorial and have created the following module(from the tutorial) in Notepad under Windows 11:

[python]def fib(n): # write..... More

Print this item

Sad How to split a String from Text Input into 40 char chunks?
Posted by: lastyle - Jul-31-2023, 06:58 PM - Forum: General Coding Help - Replies (7)

Hi all.

I Need a Solution split String a String into 40 char chunks.

The String is from a User Input and can be longer (between 1 and 290 Chars..... More

Print this item

  Python Tic Tac Toe with Functions
Posted by: jorisnl - Jul-31-2023, 04:00 PM - Forum: Code Review - Replies (2)

Hi all,

I have written a Python Tic Tac Toe game with functions for 2 players on a shared keyboard. I am interested in feedback. It works well, but..... More

Print this item

  How do you change your horizontal scrolling background to a vertical one?
Posted by: Kalebre - Jul-31-2023, 02:42 PM - Forum: Game Development - No Replies

I was making a platformer game using PyGame. After some time I decided to change the game to a vertical parkour map, but I dont know how to change it ..... More

Print this item

  Help with variable in between modules
Posted by: llxxzz - Jul-31-2023, 02:27 PM - Forum: General Coding Help - Replies (5)

Hi All,
first apologizes for my poor scripting - I am a beginner.
I have found lots of information about my doubt but none could actually solve my..... More

Print this item

  How can I rearrange df as the nodes index in pytorch geometric manner?
Posted by: uqlsmey - Jul-31-2023, 11:28 AM - Forum: General Coding Help - No Replies

How can I rearrange df as the nodes index in pytorch geometric manner?

This is my code

[python]data = {'Source': ['Rainfall', 'SP2', 'SP2', 'Inflow..... More

Print this item

  Multivariate Analysis of Ecology Data
Posted by: Will_Robertson - Jul-31-2023, 11:22 AM - Forum: Data Science - Replies (2)

I'm writing code to do statistical analysis of ecological data as part of a voluntary research project. Where the independent variables are continuous..... More

Print this item

  Database, embedded python
Posted by: janeik - Jul-31-2023, 10:45 AM - Forum: Game Development - Replies (4)

hello. To not be used regarding game, but this forum was the best I could pick.
I think I should use a db to store/search informations from my python..... More

Print this item

  FileNotFoundError: [WinError 2] The system cannot find the file specified
Posted by: NewBiee - Jul-31-2023, 08:39 AM - Forum: General Coding Help - Replies (2)

Hi,

I get this error when I run my code:

[error]File "C:\Users\Me\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 771,..... More

Print this item

  Python Launcher INI File
Posted by: leodavinci1990 - Jul-30-2023, 02:41 PM - Forum: General Coding Help - Replies (1)

I cannot find the Python Launcher Configuration File (.INI) under C:\Windows or Under C:\Users\XXX\AppData\Local\ .
The launcher itself is found in C..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Too much space ... 1 hour ago RonR RonR GUI
  How Reliable Is Assignmen... 5 hours ago tobey12 tobey12 News and Disc...
  Another app idea - intera... 9 hours ago decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575813
  Tutorial Requ... 497071
  Web Scraping ... 439825
  Newbie with P... 383520
  New Users Int... 365366
Most reputation
buran 581
snippsat 508
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+ 12087
buran 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
XenonBlack Today
tobey12 Today
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday

User Panel Messages

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