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,397
» Latest member: MaxTranslate
» Forum threads: 38,822
» Forum posts: 176,026

Full Statistics

Online Users
There are currently 40 online users.
» 1 Member(s) | 33 Guest(s)
Bing, Applebot, Google, Mojeek, AOL, jogl

Latest Threads
Struggles I Faced While E...
Forum: Code Review
Last Post: MaxTranslate
4 hours ago
» Replies: 2
» Views: 4,580
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Today, 08:37 AM
» Replies: 4
» Views: 157
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Today, 07:27 AM
» Replies: 7
» Views: 3,588
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 141
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 285
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,100
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,952
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 174
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 105
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 177

 
  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: 266)
.csv   dane.csv (Size: 725 bytes / Downloads: 256)
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: 242)
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
  Struggles I Faced While E... 4 hours ago baffa_dbt MaxTranslate Code Review
  Willing to pay for help w... Today, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Today, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
Most views
  The best Prog... 580407
  Tutorial Requ... 519484
  Web Scraping ... 442781
  Newbie with P... 386982
  New Users Int... 386494
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
MaxTranslate Today
pizofreude Today
RockHound_Z12 Today
braillescribe Yesterday
aurelio12282025 Yesterday

User Panel Messages

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