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,929
» Latest member: KennedyRichadGuerra
» Forum threads: 38,719
» Forum posts: 175,495

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 37 Guest(s)
Google, AOL, Apple, Mojeek, Facebook Dev

Latest Threads
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
10 minutes ago
» Replies: 7
» Views: 2,553
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
1 hour ago
» Replies: 7
» Views: 2,051
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:27 PM
» Replies: 6
» Views: 842
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:32 PM
» Replies: 2
» Views: 534
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Yesterday, 11:25 AM
» Replies: 7
» Views: 1,833
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Yesterday, 11:16 AM
» Replies: 4
» Views: 15,770
New to the field
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 08:15 AM
» Replies: 1
» Views: 433
Too much space between gr...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:34 AM
» Replies: 1
» Views: 508
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Sep-13-2025, 06:11 AM
» Replies: 5
» Views: 1,578
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 1,260

 
  How to detect this type of images
Posted by: AtharvaZ - Jan-02-2024, 03:11 PM - Forum: General Coding Help - No Replies

I have an dataset of passport size images and have to put validation on them. But i am not able to get how to detect this type of image as this is con..... More


Attached Files

Thumbnail(s)
   
Print this item

  needing some help to write some code for a game calculator
Posted by: rymdaksel - Jan-02-2024, 04:18 AM - Forum: General Coding Help - Replies (2)

i just want to preface this thread by saying that i am a complete noob with python. i started learning a few days ago, going off of only knowledge abo..... More

Print this item

  Pandas keep existing format of Excel
Posted by: AlphaInc - Jan-01-2024, 11:25 AM - Forum: Data Science - Replies (2)

Hello everybody,

I've written a little Python Script which loads an Excel file and picks random entries basend on a few criteria. Those entries are..... More

Print this item

  GUI application - code review
Posted by: Sr999 - Jan-01-2024, 11:10 AM - Forum: Code Review - Replies (3)

Hello guys , i have been learning python for like 1.5 month last time i got here nice reviews and aspects of my code progress and i would like to get ..... More

Print this item

  @staticmethod and @classmethod
Posted by: akbarza - Jan-01-2024, 07:30 AM - Forum: General Coding Help - Replies (2)

hi
the below code is in address:
https://python101.pythonlibrary.org/chapter25_de[url=https://python-forum.io/thread-41360.html]..... More

Print this item

  scipy looks like it installs, but does not
Posted by: Skaperen - Jan-01-2024, 04:24 AM - Forum: News and Discussions - Replies (6)

[output]
lt1a/root/2 /root 22# time logcmd -s install-scipy pip install --upgrade --cache-dir /var/lib/pip-cache scipy
Script started, file is ./202..... More

Print this item

  no module named 'docx' when importing docx
Posted by: MaartenRo - Dec-31-2023, 08:18 AM - Forum: General Coding Help - Replies (1)

When i run

import docx
i get
Error:
ModuleNotFoundError: No module named 'docx'
.

In the windows prompt i executed
[ou..... More

Print this item

  "pythonic" way of splitting up my code?
Posted by: liggisten - Dec-30-2023, 03:27 PM - Forum: General Coding Help - Replies (4)

Hello everybody!
Im learning python by myself, so there are unknown "gaps" in my skill set..

Instead of trying to explain my overly complex and co..... More

Print this item

  ecu CAN frame vin number
Posted by: lebossejames - Dec-30-2023, 08:38 AM - Forum: Networking - No Replies

Hello,

I try to get my VIN number from my ECU of my car with my MKS Canable v1.0 (Candlelight firmware)

I get theses traces, i get only bytearr..... More

Print this item

  error in class: TypeError: 'str' object is not callable
Posted by: akbarza - Dec-30-2023, 07:51 AM - Forum: General Coding Help - Replies (2)

in below code:
[python]class Person:
def __init__(self,username):
self._username= username

#getter
@property
def ..... More

Print this item

  [pandas] TypeError: list indices must be integers or slices, not str but type is int.
Posted by: cspower - Dec-29-2023, 09:31 PM - Forum: Data Science - Replies (4)

I'm reading from an .ods file randomly selected cells. I randomly select them by the file loc(index).at('the column name')
I created this list [('L'..... More

Print this item

  How to Minimize ADB window
Posted by: OomKoos - Dec-29-2023, 12:41 PM - Forum: General Coding Help - No Replies

I know using extension pyw normally hides the Terminal window

However

I have program that uses module "pyminitouch"
This causes a ADB terminal ..... More

Print this item

  I'm looking for the syntax of a complex exponent, like: 2 ** (n - m)
Posted by: CHANCEMAN - Dec-29-2023, 10:08 AM - Forum: General Coding Help - Replies (2)

. I'm looking for the syntax of a complex exponent, like: 2 ** (n - m)
. I would like to do this:
(code 1) :
[python]p = n - m
NUMERO = (98 ** p) ..... More

Print this item

  Strange behavior of parse_qsl when parameter value is '+'
Posted by: dingning - Dec-28-2023, 09:59 AM - Forum: Web Scraping & Web Development - Replies (2)

I am seeing unexpected behavior from the parse_qsl function when the query string parameter value is just '+'.

My Python version is 3.11. I am callin..... More

Print this item

  How to check if Skype call is connected or disconnected in Python?
Posted by: boral - Dec-28-2023, 07:00 AM - Forum: General Coding Help - Replies (1)

[python]def call_number(number):
try:
print(f"Calling number: {number}")

# Generate Skype URI for the number
skype_uri = f"skype:{nu..... More

Print this item

  application design
Posted by: 67kap - Dec-27-2023, 03:36 PM - Forum: General Coding Help - No Replies

I'm developing an application for scan a Drive(I'm expecting to use PlanetScale ) and check whether is there any new files, if there any I need to aut..... More

Print this item

  Dictionary in a list
Posted by: bashage - Dec-27-2023, 01:30 PM - Forum: General Coding Help - Replies (2)

Hi,
I'm learning French and Python, and I thought I'd combine the two. My goal is to make a glossary written in Python, where each word is a dictiona..... More

Print this item

  question about using setter, getter and _
Posted by: akbarza - Dec-27-2023, 01:20 PM - Forum: General Coding Help - Replies (4)

hi
in below code:

[python]# from: https://virgool.io/@GreatBahram/once-for...vwcuakw7aq
# code about getter, setter
class Person:
..... More

Print this item

  problem install somewhere package
Posted by: akbarza - Dec-27-2023, 01:08 PM - Forum: General Coding Help - Replies (1)

hi
i wanted to install somewhere package in my pc(win 10, python 3.11.5, i use idle), so
I installed it in cmd. below is what I did on cmd:..... More

Print this item

  How to run utilities from a Python package?
Posted by: LugosisGhost - Dec-27-2023, 10:53 AM - Forum: General Coding Help - Replies (1)

I have installed Python 3.9 in a VENV so that I can use the PyQT6 library (my understanding is that PyQT6 cannot be used with Python 3.12, so I used a..... More

Print this item

  Create Choices from .ods file columns
Posted by: cspower - Dec-27-2023, 05:57 AM - Forum: General Coding Help - Replies (3)

The code below works however it runs the function get_m_g() twice.
which takes you through the selection process a second time.
How do I get the re..... More

Print this item

  How to access values returned from inquirer
Posted by: cspower - Dec-26-2023, 08:31 PM - Forum: General Coding Help - Replies (6)

1. I'm using the code below and it works well.
I'm able to select my choices but I can't figure out how to access the choices so I can use the info..... More

Print this item

  problem with help(type(self)) in Idle
Posted by: akbarza - Dec-26-2023, 11:32 AM - Forum: General Coding Help - Replies (1)

hi
I use idle for Python learning.
in idle i wrote help(type) and then appeared a text that contained somethings as mro(self, / ) or __sizeof..... More

Print this item

  problem descriptors in Python
Posted by: akbarza - Dec-26-2023, 11:13 AM - Forum: General Coding Help - Replies (8)

hi
the below code is in address:
https://docs.python.org/3/howto/descriptor.html
[python..... More

Print this item

  ERROR WHILE INSTALLING PLAYSOUND MODULE
Posted by: satwants33 - Dec-26-2023, 07:39 AM - Forum: General Coding Help - Replies (2)

Hello Everyone,

I hope you all are good.

I am new to python world and facing some issue while installing play sound.Error below :

PS C:\Users..... More

Print this item

  How to fix this?
Posted by: James_S - Dec-25-2023, 08:51 PM - Forum: General Coding Help - Replies (1)

I have the following codes:

import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
import seaborn as sns
import pandas as pd
i..... More

Print this item

  Python entropy calculation
Posted by: 12miki12 - Dec-25-2023, 08:24 PM - Forum: General Coding Help - Replies (1)

With this code in Python, I calculate the entropy value of a txt file based on trigrams, but something goes wrong, because the output value is 110.519..... More

Print this item

  Help needed in finding a library for this project
Posted by: PythonEnthusiast1729 - Dec-25-2023, 06:50 AM - Forum: General Coding Help - Replies (7)

Hey everyone, I just got an idea to make a automation project but I didn't know which library it needed. The automation project involves time, which m..... More

Print this item

  How to Connect to PostgreSQL Through Jump Server and SSH Tunnel using Python?
Posted by: nishans - Dec-24-2023, 09:28 AM - Forum: General Coding Help - Replies (1)

I want to connect my remote database using python. Below are the frontend configuration for DBever. I need to know how to connect to the DB.

[attac..... More


Attached Files

Thumbnail(s)
       
Print this item

  UART & I2C slow down a loop
Posted by: trix - Dec-23-2023, 05:37 PM - Forum: General Coding Help - Replies (4)

hello,

I am working on writing a program for a stepper motor with a driver (pulse/dir).
this is done with acc and decc.

in the part with the co..... More

Print this item

  output shape problem with np.arange
Posted by: alan6690 - Dec-23-2023, 10:53 AM - Forum: General Coding Help - Replies (5)

When I generate an array using np.arange(start=0, stop= 29 * 4.42, step=4.42), the output turns out to be an array of size (30,) where it should be of..... More

Print this item

  partial functions before knowing the values
Posted by: mikisDeWitte - Dec-22-2023, 03:04 PM - Forum: General Coding Help - Replies (4)

Hello python experts!

I'm working on a function ("salary_or_name_builder" in the example) that routes my input parameters to multiple functions.
I..... More

Print this item

  filtering a list of dictionary as per given criteria
Posted by: jss - Dec-22-2023, 12:26 PM - Forum: General Coding Help - Replies (5)

i have metadata and api_request as below.

[python]
metadata = [

{"path": "d/scripts", "name": "../"},
{"path": "d/scripts", "name": "..... More

Print this item

  uploading files from a ubuntu local directory to Minio storage container
Posted by: dchilambo - Dec-22-2023, 07:17 AM - Forum: General Coding Help - No Replies

I want to upload files (text and binary) from my local machine running ubuntu 20.04 to a Minio storage container also in the same machine.
below are..... More

Print this item

  Merging rows and adding columns based on matching index
Posted by: pythonnewbie78 - Dec-21-2023, 04:23 PM - Forum: Data Science - Replies (3)

Hello community, tried this a million different ways with pandas groupby but no luck, any help is appreciated. First year learning python and still tr..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Seeking feedback: dynamic... 10 minutes ago Bona2000 Bona2000 General Codin...
  403 Error 1 hour ago CaptainNewb CaptainNewb Web Scraping ...
  Select Python comment (#)... Yesterday, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... Yesterday, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame Yesterday, 11:25 JMcM JMcM Game Developm...
  Python Installation issue Yesterday, 11:16 RFHill Dev News and Disc...
  New to the field Yesterday, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Yesterday, 02:34 RonR deanhystad GUI
  I'm trying to make a piec... 09-13, 06:11 Alislugacool MilesWeb General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 08:36 physalis2099 Olivia General Codin...
Most views
  The best Prog... 575674
  Tutorial Requ... 496803
  Web Scraping ... 439717
  Newbie with P... 383371
  New Users Int... 364716
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 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
KennedyRichadGuerra Today
Williefaree Today
faithsally Today
compuman145 Today
DeadEyes Today

User Panel Messages

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