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,568
» Latest member: Anusri
» Forum threads: 38,666
» Forum posts: 175,219

Full Statistics

Online Users
There are currently 295 online users.
» 1 Member(s) | 286 Guest(s)
Bing, Baidu, Yandex, Google, Applebot, Mojeek, AOL, deanhystad

Latest Threads
Label & OptionMenu widget...
Forum: GUI
Last Post: deanhystad
3 hours ago
» Replies: 1
» Views: 75
Code stoped working
Forum: News and Discussions
Last Post: DeaD_EyE
9 hours ago
» Replies: 2
» Views: 104
ASCII-Codec in Python3 [S...
Forum: General Coding Help
Last Post: Gribouillis
11 hours ago
» Replies: 6
» Views: 10,418
How scan all ips from mai...
Forum: Networking
Last Post: MaahirThomas
Yesterday, 07:09 PM
» Replies: 2
» Views: 394
gpiozero buttons stop wor...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:10 PM
» Replies: 7
» Views: 413
Made my first Python prog...
Forum: Game Development
Last Post: Ricky1178
Jul-17-2025, 11:12 PM
» Replies: 8
» Views: 10,693
How to package code for d...
Forum: General Coding Help
Last Post: snippsat
Jul-17-2025, 11:36 AM
» Replies: 2
» Views: 213
pip3 install certifi fail...
Forum: General Coding Help
Last Post: Pedroski55
Jul-15-2025, 08:52 AM
» Replies: 1
» Views: 158
My first python game : Ti...
Forum: Game Development
Last Post: walterliz
Jul-15-2025, 07:45 AM
» Replies: 8
» Views: 55,997
A penny doubled every day...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:35 AM
» Replies: 6
» Views: 782

 
  Error Help
Posted by: Tennisbuck - Sep-08-2023, 12:29 PM - Forum: General Coding Help - Replies (3)

Hello Board,

I'm new to python and I've recieved the error message below. Does anyone know how this can be fixed?


Attached Files

Thumbnail(s)
   
Print this item

  How do I handle escape character in parameter arguments in Python?
Posted by: JKR - Sep-08-2023, 10:44 AM - Forum: General Coding Help - Replies (6)

Hi,
I have the issue that Python change the string value of my parameter arguments.

Here are my skript parameter:

"C:\Ordner 1\" "D:\test 2\"..... More

Print this item

Bug Program to check whether a number is palindrome or not
Posted by: PythonBoy - Sep-07-2023, 12:01 PM - Forum: Homework - Replies (18)

A palindrome number is a number which if written backwards also, the number will look the same
Eg: 112211, 121, 898

I have a homework to write a p..... More

Print this item

  Problem with code / audio is playing randomly, not matching csv requirements
Posted by: Daniel_kcr - Sep-07-2023, 11:12 AM - Forum: General Coding Help - Replies (2)

Hello. Greeting to you all. I'm totally new, today i wrote my very first bunch of code. I got a problem with sounds within my project. As i managed to..... More


Attached Files

.py   app.py (Size: 1.82 KB / Downloads: 212)
.csv   dane.csv (Size: 725 bytes / Downloads: 208)
Print this item

  Noob question
Posted by: BSDevo - Sep-07-2023, 05:19 AM - Forum: Data Science - Replies (4)

Hi, im new to Pandas, Python and all this awesomnes !

I learn hard way ...

I have few things im confused about.

Im trying to sort and visuali..... More

Print this item

  Fix pandas copy/slice warning.
Posted by: deanhystad - Sep-07-2023, 04:16 AM - Forum: General Coding Help - Replies (3)

In another thread I posted this code:
[python]import pandas as pd
from string import ascii_letters as letters
from random import choice, choices, r..... More

Print this item

  Movie Search
Posted by: menator01 - Sep-07-2023, 03:02 AM - Forum: Code sharing - Replies (4)

I've finished the movie search script. Still a little ruff around the edges but, works. I had trouble placing text in the textbox so I went with using..... More

Print this item

  [solved] duplication in pandas
Posted by: BSDevo - Sep-06-2023, 09:30 PM - Forum: Data Science - No Replies

Missed some white space again.

Hi, im new to Python and Pandas.
Im trying to drop duplicates from my dataframe but something is wrong.
Im using Strea..... More

Print this item

  While Loop Problem
Posted by: Benno2805 - Sep-06-2023, 03:58 PM - Forum: General Coding Help - Replies (1)

Hi,
i'm very very new to python, but familiar with vba, so understand how basics work and in this case a loop.

I have the following code:

[pyth..... More

Print this item

  Help with my code
Posted by: bp12 - Sep-06-2023, 02:42 PM - Forum: Homework - Replies (7)

Hi all,

I have been working on my code but I am a novice and I am still trying to get my head around it all. I can't get the output I am looking for...... More


Attached Files

Thumbnail(s)
           
Print this item

  IndexError: index 10 is out of bounds for axis 0 with size 10
Posted by: Mehboob - Sep-06-2023, 07:17 AM - Forum: General Coding Help - Replies (11)

i am trying to run a Github repo for voltage control of various distribution system like IEEE10 bus, 23 bus and 30 bus system. When main files calls r..... More

Print this item

  combobox_callback(choice choice part of openfile name (kind of dependency)
Posted by: janeik - Sep-05-2023, 07:00 PM - Forum: General Coding Help - Replies (9)

hello.
Goal is: clicking i.e: Akershus in a not placed colmbobox, fills another combo using content of a placed combobox.
(kind of dependency)
Tryi..... More

Print this item

  Use of PIL.Image
Posted by: nafshar - Sep-05-2023, 06:55 PM - Forum: General Coding Help - Replies (12)

The following code generates an error which I am not understanding:

[code]
from fastapi import FastAPI, File, UploadFile
import uvicorn
import n..... More

Print this item

  String to List question help
Posted by: James_Thomas - Sep-05-2023, 03:52 PM - Forum: General Coding Help - Replies (6)

Hello, I have been working with PyVISA doing S_param measurements. It is extremely convinent on my set up to just pull SNP (Touchstone files) because ..... More


Attached Files

Thumbnail(s)
       
Print this item

  Python script that deletes symbols in plain text
Posted by: nzcan - Sep-05-2023, 03:46 PM - Forum: General Coding Help - Replies (3)

I need a python script that deletes all symbols in a plain text file.
For example, I want that all 'd', all 'f' and all '0' (zeros) in a plain text f..... More

Print this item

  BMI code
Posted by: Reznick - Sep-05-2023, 03:25 PM - Forum: General Coding Help - Replies (2)

hi recently i started learning python my first project is BMI calculator after coding in (python 3.11) when i execute my code i get error saying floa..... More

Print this item

  Find a string from a column of one table in another table
Posted by: visedwings049 - Sep-05-2023, 03:03 PM - Forum: General Coding Help - Replies (8)

I am using Python 3.9

I have created two pandas data frames from csv files
product and supplier


1. I have created a product table that splits a de..... More


Attached Files

Thumbnail(s)
   
Print this item

  Code challenge I need to solve for a Bootcamp
Posted by: ramonrocha - Sep-05-2023, 02:46 PM - Forum: General Coding Help - Replies (1)

CHALLENGE
A supermarket is doing a sale promotion of soft drinks. If one day you buy soda and take the empty hulls the next day, she exchanges each s..... More

Print this item

  An unexplainable error in .format statement - but only in a larger piece of code?
Posted by: ToniE - Sep-05-2023, 11:36 AM - Forum: General Coding Help - Replies (4)

I have a larger piece of python code, called from Apache2 on a Raspberry Pi. Python release is 3.11.4 on my Raspberry. The code snippet which creates..... More


Attached Files

.py   test_wsgi_script_no_PW.py (Size: 6.41 KB / Downloads: 202)
Print this item

  cinemagoer library problem
Posted by: lunacy90 - Sep-04-2023, 06:19 PM - Forum: General Coding Help - Replies (21)

I am trying to make an application that in part prints out the last 10 films released based on actor which means i want to exclude announced films if ..... More

Print this item

  sqlite3 Conn Insert Value Error
Posted by: TylerDunbar - Sep-04-2023, 04:10 PM - Forum: General Coding Help - Replies (3)

Hello - Thank you for reading my post. Quick disclaimer - Teaching myself python late in life (64 yrs). This is to support PhD. I am using "Python Day..... More

Print this item

Star Nodezator v1.4 released! (Python node editor in the public domain)
Posted by: KennedyRichard - Sep-04-2023, 01:42 PM - Forum: News and Discussions - No Replies

Hello, everyone!

I'm Kennedy Guerra, I'll be 33 this month. It's been over a year since I released Nodezator, the generalist multi-purpose Python n..... More

Print this item

  imdby package problem
Posted by: lunacy90 - Sep-04-2023, 12:25 PM - Forum: General Coding Help - Replies (8)

I am trying to build an app that connects on imdb module and will be able to access diferent kinds of information about the film in question
[python]..... More

Print this item

  how to move pip
Posted by: kucingkembar - Sep-04-2023, 11:52 AM - Forum: General Coding Help - Replies (6)

hi, sorry for my bad English,
my pip in C:\Users\PcUserName\AppData\Local
The C:\ drive is almost full, I would like to move it to the D:\ drive,
I..... More

Print this item

  Convert From PDf into JPEG Problem
Posted by: koklimabc - Sep-04-2023, 08:03 AM - Forum: General Coding Help - Replies (4)

I'd recently found one issuse from converting PDF into JPG file and It will be stopped at File Number 52 without continuous on.

I'd tried neither i..... More


Attached Files

Thumbnail(s)
   
Print this item

  to follow or not to follow a symlink in os.utime() os POSIX
Posted by: Skaperen - Sep-03-2023, 05:34 PM - Forum: News and Discussions - Replies (4)

in "16.1. os — Miscellaneous operating system interfaces" there is this text (in my PDF copy of "The Python Library Reference"):
[output]
You can ch..... More

Print this item

  SNUGBUG © CLI based chatroom app. The CLI IS HERE TO STAY !!
Posted by: itsakshaydilip - Sep-03-2023, 05:06 PM - Forum: News and Discussions - Replies (1)

[Image: 264742200-636114f6-5644-4802-aea5-2fd5e7ccea9a.png]

SNUGBUG CHAT APP

CLI based app..... More

Print this item

  problem in using mypy
Posted by: akbarza - Sep-03-2023, 02:56 PM - Forum: General Coding Help - Replies (17)

Hi
I installed on the Python mypy library.
I save my files on D drive in a folder.
In cmd, I changed the directory to the folder. Then I w..... More

Print this item

  Help needed for a program using loops
Posted by: PythonBoy - Sep-03-2023, 12:18 PM - Forum: Homework - Replies (5)

I got a homework to create a program whose output is like this:

*
**
***
****

I made use of for loop to make this program
My code:
[python]..... More

Print this item

  discrepancy with datetime with timezone
Posted by: XJia - Sep-03-2023, 05:52 AM - Forum: General Coding Help - Replies (3)

Can anyone please help explain about the following. why don't I get even numbers for the hours?

I'm running Python 3.10. The following is from ptpy..... More

Print this item

  'answers 2' is not defined on line 27
Posted by: 0814uu - Sep-02-2023, 09:58 PM - Forum: General Coding Help - Replies (4)

Hey, I'm doing a school project and I can't find my error on replit, could someone help me and correct it? Go easy on me as I just picked up coding ye..... More

Print this item

  How to do 100 runs simulation based on the current codes?
Posted by: dududada - Sep-02-2023, 08:18 PM - Forum: General Coding Help - Replies (6)

The current codes are already on the website: https://github.com/xunzheng/notears

linear.py allows me to run one-time simulation. https://github.com/..... More

Print this item

  Printing the variable from defined function
Posted by: jws - Sep-02-2023, 05:10 PM - Forum: General Coding Help - Replies (7)

Hi,

Quite new topython and this is a problem I have spent 1.5 hrs trying to work out, for context I wanted to define a function that would create a..... More

Print this item

  Unidecode issue
Posted by: DPaul - Sep-02-2023, 06:42 AM - Forum: Bar - Replies (5)

Hi,
In some pdfs I encounter references to the original parish register, like so: ref = ' RP 477; p. 148 r° '
I perform unidecode on all strings in ..... More

Print this item

  encode/decode to show correct country letters in a CTk combobox
Posted by: janeik - Sep-02-2023, 01:28 AM - Forum: General Coding Help - Replies (2)

hi.
I have a text file encoded utf-8
Reading it with i.e. notepad shows "sør-trøndelag"
Note the Norwegian character "ø"

Binary reading in Python, fr..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Label & OptionM... 3 hours ago slate deanhystad GUI
  Code stoped working 9 hours ago OldMan57 DeaD_EyE News and Disc...
  ASCII-Codec in Python3 [S... 11 hours ago AlphaInc Gribouillis General Codin...
  How scan all ips from mai... Yesterday, 19:09 ramin_malek MaahirThomas Networking
  gpiozero buttons stop wor... Yesterday, 15:10 duckredbeard deanhystad General Codin...
  [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
Most views
  The best Prog... 572750
  Tutorial Requ... 485832
  Web Scraping ... 437202
  Newbie with P... 380195
  Thread remain... 351407
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 6862
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Anusri Today
slate Today
SagarSwag Today
Valentino_lmao Today
OLaneled Today

User Panel Messages

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