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,564
» Latest member: OLaneled
» Forum threads: 38,666
» Forum posts: 175,215

Full Statistics

Online Users
There are currently 256 online users.
» 0 Member(s) | 250 Guest(s)
Applebot, Baidu, Bing, Google, Yandex

Latest Threads
StephenSep
Forum: General Coding Help
Last Post: OLaneled
5 minutes ago
» Replies: 0
» Views: 8
How scan all ips from mai...
Forum: Networking
Last Post: MaahirThomas
5 hours ago
» Replies: 2
» Views: 384
gpiozero buttons stop wor...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 7
» Views: 316
Code stoped working
Forum: News and Discussions
Last Post: Axel_Erfurt
11 hours ago
» Replies: 1
» Views: 77
Made my first Python prog...
Forum: Game Development
Last Post: Ricky1178
Jul-17-2025, 11:12 PM
» Replies: 8
» Views: 10,676
How to package code for d...
Forum: General Coding Help
Last Post: snippsat
Jul-17-2025, 11:36 AM
» Replies: 2
» Views: 190
pip3 install certifi fail...
Forum: General Coding Help
Last Post: Pedroski55
Jul-15-2025, 08:52 AM
» Replies: 1
» Views: 139
My first python game : Ti...
Forum: Game Development
Last Post: walterliz
Jul-15-2025, 07:45 AM
» Replies: 8
» Views: 55,830
A penny doubled every day...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:35 AM
» Replies: 6
» Views: 764
Exercise on reading a chu...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:31 AM
» Replies: 3
» Views: 1,222

 
  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 (4)

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

  String int confused
Posted by: janeik - Jul-30-2023, 12:55 PM - Forum: General Coding Help - Replies (7)

ny help to get the proper syntax regarding zoom. (great confusion in tha family).
Anyone?[python]
lblzoomlvl = customtkinter.CTkLabel(window, width=..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  StephenSep 5 minutes ago OLaneled OLaneled General Codin...
  How scan all ips from mai... 5 hours ago ramin_malek MaahirThomas Networking
  gpiozero buttons stop wor... 9 hours ago duckredbeard deanhystad General Codin...
  Code stoped working 11 hours ago OldMan57 Axel_Erfurt News and Disc...
  [PyGame] Made my first Py... 07-17, 23:12 andrerocha1998 Ricky1178 Game Developm...
  How to package code for d... 07-17, 11:36 mayukun snippsat General Codin...
  pip3 install certifi fail... 07-15, 08:52 rb9594 Pedroski55 General Codin...
  My first python game : Ti... 07-15, 07:45 ForsakenDusk walterliz Game Developm...
  A penny doubled every day... 07-15, 07:35 esoyboy walterliz Homework
  Exercise on reading a chu... 07-15, 07:31 Nit_Picker walterliz Homework
  While loop is terminating... 07-15, 07:29 jumpsworthnow walterliz Homework
Most views
  The best Prog... 572728
  Tutorial Requ... 485799
  Web Scraping ... 437186
  Newbie with P... 380158
  Thread remain... 351394
Most reputation
buran 581
snippsat 507
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+ 12072
buran 8174
snippsat 7353
deanhystad 6861
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
OLaneled Today
johnstevens Yesterday
MaahirThomas Yesterday
Gichardfex Yesterday
OldMan57 Yesterday

User Panel Messages

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