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 697 online users.
» 0 Member(s) | 688 Guest(s)
Bing, Google, Facebook Dev, Yandex, Applebot

Latest Threads
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
4 hours ago
» Replies: 5
» Views: 196
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
6 hours ago
» Replies: 16
» Views: 1,018
class Blockage not projec...
Forum: General Coding Help
Last Post: Azdaghost
8 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: 329
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: 135
Send SMS from my phone nu...
Forum: General Coding Help
Last Post: TheTechNexus
May-11-2025, 05:48 PM
» Replies: 4
» Views: 3,818

 
Music Help with: Audiobook Library/Copier Project
Posted by: eleven43 - Sep-14-2023, 04:17 PM - Forum: General Coding Help - No Replies

Hello pythons!

Truth: Its my first little coding project. Nothing fancy, just for private use. I went through hours and hours of trial and error wi..... More

Print this item

  more pdf questions
Posted by: DPaul - Sep-14-2023, 08:54 AM - Forum: Bar - No Replies

Hi,
in my efforts to save server space, I have a "how to" problem.
Using Fitz (pyMuPdf), I can : open a pdf and find the page I need (page_nr)
[pyt..... More

Print this item

  How to import in photos
Posted by: CoderX - Sep-14-2023, 03:25 AM - Forum: Homework - Replies (2)

I have a project coming up in my Physics class where we are currently learning the fundamentals of Python. We have learned nested statements, how to s..... More

Print this item

  dataframe logic issues
Posted by: mbrown009 - Sep-13-2023, 07:44 PM - Forum: Data Science - Replies (5)

It is setting all values for box4 to the combination of the two values so of the else. What am I doing wrong? Do I have to convert those fields to num..... More

Print this item

  Jupyter notebooks, jupyter kernels, virtual environment created in Anaconda...
Posted by: bytecrunch - Sep-13-2023, 12:35 PM - Forum: Data Science - Replies (8)

Hello Forum,

I think I am clear on what a virtual environment is: it is a "folder" that contains specific Python libraries/modules and a specific P..... More

Print this item

  UserWarning: Could not infer format
Posted by: NewBiee - Sep-13-2023, 07:40 AM - Forum: Data Science - Replies (3)

Hi,

I have this code:
[python]def get_rework_flags(logs, clean_df):
""" Gets the flags used for rework """
logger = logs['logger']
..... More

Print this item

  Anyone registered for PyWeek?
Posted by: ah3 - Sep-12-2023, 12:02 PM - Forum: Game Development - Replies (1)

Did anyone register for PyWeek? I just did, I'm excited and kinda nervous. It's my first ever game jam!

Print this item

  ValueError: Unknown label type: 'continuous-multioutput'
Posted by: hobbyist - Sep-12-2023, 09:07 AM - Forum: General Coding Help - Replies (7)

I am running this code: https://github.com/dyt08/diabetes-predic...etes.ipynb on google colab.

and on this part:

[python]X_SMOTE, y_..... More

Print this item

  pdf question
Posted by: DPaul - Sep-12-2023, 08:46 AM - Forum: Bar - Replies (7)

Hi,
When documents are scanned, using a "bulk" scanner,
the result is either a bunch of tifs or pngs.
Those image formats are percieved as being "f..... More

Print this item

  Pytest Installed, but VS Code Won’t Access Pytest
Posted by: AstralWeeks - Sep-12-2023, 05:15 AM - Forum: General Coding Help - Replies (9)

Hi,

Sorry, I understand questions about installing packages and problems with path directories are common, but I've tried everything and really nee..... More

Print this item

  Program to find Mode of a list
Posted by: PythonBoy - Sep-11-2023, 01:57 PM - Forum: General Coding Help - Replies (6)

I am currently making a program to find the Mode of a list by count() function.

[python]
Input =input("Please enter the data: ")
Data = Input.spl..... More

Print this item

  Problem passing argument to functionin inTkinter frame
Posted by: ericwm7248 - Sep-11-2023, 12:09 PM - Forum: GUI - Replies (3)

This is the method I have inside a Tkinter frame which I am trying to call using key_press() but get the error.


ERROR MESSAGE
[error]Traceback (..... More

Print this item

  read active document name - other than from the window title
Posted by: ineuw - Sep-11-2023, 09:06 AM - Forum: General Coding Help - No Replies

This simple date time & filename script is activated from Autokey and works well, except where I need it most - in Geany. In a GTK based theme, regard..... More

Print this item

  Python code for Longest Common Subsequence
Posted by: Bolt - Sep-11-2023, 12:14 AM - Forum: General Coding Help - Replies (3)

I am looking for a Python code to find the longest common subsequence of two strings. I found a blog post that describes the problem and provides a so..... More

Print this item

  run a string or str as a statement
Posted by: Skaperen - Sep-10-2023, 10:13 PM - Forum: News and Discussions - Replies (3)

i would like to be able to run a string (or at least just a str) as a statement in the current context (for example, its local variables being the sam..... More

Print this item

  android e python fece recognition
Posted by: Fabiola - Sep-10-2023, 05:30 PM - Forum: General Coding Help - Replies (1)

Hi, I'm making an app in Android Studio that communicates with Python via socket and I have to implement the recognition. I did it this way but when I..... More

Print this item

  Extract PDF Attachment from Gmail
Posted by: jstaffon - Sep-10-2023, 01:55 PM - Forum: General Coding Help - No Replies

I would like to have a python script open my Gmail inbox, read each unread email, extract the PDF attachments if they exist and save the attachment. M..... More

Print this item

  Error is finding mean of a list
Posted by: PythonBoy - Sep-10-2023, 07:26 AM - Forum: General Coding Help - Replies (4)

So I was making a program to find the mean of a list entered by the user
My code:
[python]
Input =input("Please enter the data: ")
Data = Input.sp..... More

Print this item

  Trouble with Tkinter labels
Posted by: Raysz - Sep-09-2023, 11:18 PM - Forum: GUI - Replies (6)

So I am new at Tkinter

So I'm trying to create what I thought was a simple program
I made this program in a standard Python script
I thought all ..... More

Print this item

  Taking screenshot
Posted by: ConsistentlyInconsistent - Sep-09-2023, 10:32 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I'm very very new to python but I've been building my own automated bot for a html game.
There's part of the game that you need to complete an..... More

Print this item

  Using pyodbc&pandas to load a Table data to df
Posted by: tester_V - Sep-09-2023, 05:12 AM - Forum: General Coding Help - Replies (3)

Greetings!
I'm connecting to a DB and can get all the tables from it. No errors
I wanted to find a table named "ToolHistory" and later some other ta..... More

Print this item

  phase portrait - Nonlinear damped pendulum
Posted by: Giovanni_62 - Sep-08-2023, 07:42 PM - Forum: Data Science - Replies (1)

[python]
import numpy as np
import matplotlib.pyplot as plt
from scipy.integrate import solve_ivp

# Parameters
g = 9.81 # Acceleration du..... More

Print this item

  [PySide / PyQt] Offset two images with keyboard increments
Posted by: carecavoador - Sep-08-2023, 06:01 PM - Forum: GUI - Replies (1)

Hello fellow Pythonistas.

I'm working on a little side project. The goai is: I need to load two images, then invert the pixels of the second image ..... More


Attached Files

Thumbnail(s)
       

.py   viewer_min_example.py (Size: 2.16 KB / Downloads: 197)
Print this item

  how do you style data frame that has empty rows.
Posted by: gsaray101 - Sep-08-2023, 05:17 PM - Forum: General Coding Help - No Replies

I have this data frame df:


I need to style this data frame based on Percent_Utilized column. I have this so far:

I have this data frame:

df..... More

Print this item

  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: 199)
.csv   dane.csv (Size: 725 bytes / Downloads: 195)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Return a string or byte o... 4 hours ago Calab snippsat General Codin...
  problems with netcdf if I... 6 hours ago Blaubart Blaubart General Codin...
  class Blockage not projec... 8 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... 563361
  Tutorial Requ... 447921
  Web Scraping ... 428385
  Newbie with P... 362367
  Thread remain... 334967
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