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,465
» Latest member: JeanChristophe
» Forum threads: 38,576
» Forum posts: 174,803

Full Statistics

Online Users
There are currently 707 online users.
» 0 Member(s) | 702 Guest(s)
Bing, Google, Yandex

Latest Threads
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
5 hours ago
» Replies: 5
» Views: 197
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
6 hours ago
» Replies: 16
» Views: 1,019
class Blockage not projec...
Forum: General Coding Help
Last Post: Azdaghost
9 hours ago
» Replies: 0
» Views: 43
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
Today, 09:04 AM
» Replies: 1
» Views: 331
Pip help
Forum: General Coding Help
Last Post: Larz60+
Today, 05:57 AM
» Replies: 4
» Views: 330
Paste text with caret alr...
Forum: General Coding Help
Last Post: armorerratic
Today, 01:12 AM
» Replies: 2
» Views: 950
Library Management System
Forum: Homework
Last Post: deanhystad
Yesterday, 01:56 AM
» Replies: 1
» Views: 167
smbus.SMBus i2c code whic...
Forum: General Coding Help
Last Post: NewbyTyro
May-12-2025, 03:51 PM
» Replies: 2
» Views: 284
Why are the PythonT symli...
Forum: News and Discussions
Last Post: gernophil
May-12-2025, 08:10 AM
» Replies: 0
» Views: 136
Send SMS from my phone nu...
Forum: General Coding Help
Last Post: TheTechNexus
May-11-2025, 05:48 PM
» Replies: 4
» Views: 3,819

 
  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: 190)
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

  Why wont this path work one way, but will the other way?
Posted by: cubangt - Sep-01-2023, 01:04 PM - Forum: General Coding Help - Replies (2)

Im trying to run a python script using this as one of the paths to a text file that it needs in order to process

This wont work
[python]
\\server..... More

Print this item

  Cannot convert from timedelta64[ns] to timedelta64[h]
Posted by: NewBiee - Sep-01-2023, 06:29 AM - Forum: Data Science - Replies (1)

Hi,

I have this piece of code that used to work. I have upgraded Numpy and Pandas and now they don't seem to work.

[python] def astype(self, dty..... More

Print this item

  how to open a popup window in tkinter with entry,label and button
Posted by: lunacy90 - Aug-31-2023, 09:10 PM - Forum: General Coding Help - Replies (1)

I need to be able to open a pop up window with an Label, Entry and Button widgets. They have to be located from left to right (label/entry/button). I ..... More

Print this item

Question Web Scraping via Web App (Asking for Tips)
Posted by: MartinBecka - Aug-31-2023, 08:48 PM - Forum: Web Scraping & Web Development - No Replies

Hello, fellow programmers,

I am learning Python through working on personal projects and right now, I am trying to create web application product c..... More

Print this item

  Tkinter button images not showing up
Posted by: lunacy90 - Aug-31-2023, 05:06 PM - Forum: General Coding Help - Replies (7)

I have the following code



[python]
from tkinter import *
from tkinter import messagebox

def read_account_balance():
try:
wit..... More

Print this item

  Editing spreadsheet/csv
Posted by: BSDevo - Aug-31-2023, 04:15 PM - Forum: General Coding Help - Replies (6)

Hi, sorry if something wrong im new its my first post.
Im learning python but english is not my native language and i dont know how to properly put s..... More

Print this item

  Is it possible to extract 1 or 2 bits of data from MS project files?
Posted by: cubangt - Aug-31-2023, 03:03 PM - Forum: General Coding Help - Replies (8)

We have a weekly meeting with management to present current status on few projects that are going on.. Im looking to extract the % complete from each ..... More

Print this item

  FutureWarning: Logical ops (and, or, xor) between Pandas objects and dtype-less seque
Posted by: NewBiee - Aug-31-2023, 02:18 PM - Forum: Data Science - Replies (5)

I have had this method on my code, it's been working fine, but as of today my code fails on this method:

[python]def get_flags(series, flags, regex..... More

Print this item

  problem in import module from other folder
Posted by: akbarza - Aug-31-2023, 12:28 PM - Forum: General Coding Help - Replies (5)

hi
I typed this thread before, but my net was disconnected and I lost it.
by the pic : ..... More

Print this item

  A simple problem, how best to solve it?
Posted by: SuchUmami - Aug-31-2023, 10:22 AM - Forum: General Coding Help - Replies (2)

This seems quite simple compared to many problems I've had. However, I'm not finding an elegant solution at the moment.

I have two csv files and I'..... More

Print this item

  Task calendar problem
Posted by: humanical - Aug-30-2023, 07:50 PM - Forum: Homework - Replies (8)

Here is the task:
Analyzing weekends and holidays around New Year's and May 1st in Russia, the president of Flatlandia has concluded that the rest of..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Return a string or byte o... 5 hours ago Calab snippsat General Codin...
  problems with netcdf if I... 6 hours ago Blaubart Blaubart General Codin...
  class Blockage not projec... 9 hours ago Azdaghost Azdaghost General Codin...
  Retired and Learning Pyth... Today, 09:04 breacsealgaire BarbaraGonzalez Code sharing
  Pip help Today, 05:57 meditek Larz60+ General Codin...
  Paste text with caret alr... Today, 01:12 Wehaveall armorerratic General Codin...
  Library Management System Yesterday, 01:56 annajoy deanhystad Homework
  smbus.SMBus i2c code whic... 05-12, 15:51 NewbyTyro NewbyTyro General Codin...
  Why are the PythonT symli... 05-12, 08:10 gernophil gernophil News and Disc...
  Send SMS from my phone nu... 05-11, 17:48 aster TheTechNexus General Codin...
  [SOLVED] [Beautiful Soup]... 05-11, 17:32 Winfried Winfried General Codin...
Most views
  The best Prog... 563369
  Tutorial Requ... 447942
  Web Scraping ... 428385
  Newbie with P... 362380
  Thread remain... 334977
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7325
deanhystad 6826
metulburr 5151
Top referrers
Googlepro 22
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
JeanChristophe Today
EZEKIELGRAPHICSMEDIA Today
BarbaraGonzalez Today
william224477 Today
ellena Today

User Panel Messages

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