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,931
» Latest member: Lenowell
» Forum threads: 38,720
» Forum posts: 175,500

Full Statistics

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

Latest Threads
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
3 hours ago
» Replies: 1
» Views: 342
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,340
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,459
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 285
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 92
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,806
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,056
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 746
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Sep-14-2025, 11:25 AM
» Replies: 7
» Views: 2,110
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Sep-14-2025, 11:16 AM
» Replies: 4
» Views: 15,983

 
  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: 234)
.csv   dane.csv (Size: 725 bytes / Downloads: 227)
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: 219)
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
  Another app idea - intera... 3 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...
  Python Installation issue 09-14, 11:16 RFHill Dev News and Disc...
  New to the field 09-14, 08:15 Polybunny Larz60+ News and Disc...
Most views
  The best Prog... 575784
  Tutorial Requ... 497019
  Web Scraping ... 439796
  Newbie with P... 383484
  New Users Int... 365242
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
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday
Williefaree Yesterday
faithsally Yesterday

User Panel Messages

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