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,592
» Latest member: yukitsunoda
» Forum threads: 38,666
» Forum posts: 175,232

Full Statistics

Online Users
There are currently 255 online users.
» 0 Member(s) | 250 Guest(s)
Bing, Applebot, Google, Baidu

Latest Threads
I need a specialist in Et...
Forum: General Coding Help
Last Post: yukitsunoda
2 hours ago
» Replies: 0
» Views: 20
veri kazıma
Forum: Web Scraping & Web Development
Last Post: deepvyas
8 hours ago
» Replies: 10
» Views: 338
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: MilesWeb
Today, 07:08 AM
» Replies: 5
» Views: 6,499
python GUI - which to use...
Forum: News and Discussions
Last Post: roshanchoudhary
Today, 05:21 AM
» Replies: 19
» Views: 11,593
multiplication table
Forum: Bar
Last Post: Skaperen
Yesterday, 11:37 PM
» Replies: 3
» Views: 1,330
How to add Permanent Sign...
Forum: Board
Last Post: vmars316
Yesterday, 10:33 PM
» Replies: 5
» Views: 191
Post Body (for "Forum Usa...
Forum: Board
Last Post: hihi
Jul-20-2025, 06:17 AM
» Replies: 0
» Views: 94
None collapsing Tuple at ...
Forum: Code Review
Last Post: hihi
Jul-20-2025, 05:21 AM
» Replies: 0
» Views: 123
Label & OptionMenu widget...
Forum: GUI
Last Post: slate
Jul-20-2025, 02:21 AM
» Replies: 2
» Views: 199
Code stoped working
Forum: News and Discussions
Last Post: DeaD_EyE
Jul-19-2025, 10:55 AM
» Replies: 2
» Views: 207

 
  unexpected EOF while parsing
Posted by: dawid294 - Jan-03-2024, 12:09 PM - Forum: General Coding Help - Replies (1)

Please can you help me where is the issue ? i do not know what i do wrong. thanks


[python]import cx_Oracle

try:
connection=cx_Oracle.con..... More

Print this item

  Survey on Python comments
Posted by: sgrey - Jan-03-2024, 04:18 AM - Forum: News and Discussions - Replies (1)

Hello! I apologize if this is not the most appropriate subforum. I need a few minutes of your time to help me conduct a survey for academic research.
..... More

Print this item

  Real Random Number Generator
Posted by: woodturner550 - Jan-02-2024, 11:54 PM - Forum: Code sharing - Replies (28)

The following has been copyrighted. If you don't understand it. It's new knowledge. Making an Indeterminate System from a Determinate System.

[pyt..... More

Print this item

  __init__() got multiple values for argument 'schema'
Posted by: dawid294 - Jan-02-2024, 09:04 PM - Forum: General Coding Help - Replies (4)

Hi , which packages do you use when you have issue __init__() got multiple values for argument 'schema'. how can i solve this issue. Which packages wi..... More

Print this item

  I want to add a bullet function to my game. how would i go about it?
Posted by: Iyjja - Jan-02-2024, 05:23 PM - Forum: Game Development - Replies (5)

I'm relatively new to python and I'm currently following a tutorial for a fighting game in pygame, but i want to add my own changes and additions. I'm..... More


Attached Files

.py   Even Cooler.py (Size: 2.35 KB / Downloads: 208)
.py   Player.py (Size: 6.75 KB / Downloads: 198)
Print this item

  Vb6Tkinter: a development tool designed with VB6 for Tkinter
Posted by: cdhigh - Jan-02-2024, 04:09 PM - Forum: Code sharing - No Replies

Vb6Tkinter is an addin for VB6 IDE.
After designing the form in VB6, you can use this addin to automatically generate executable Python/Tkinter code..... More

Print this item

  plsql developer in python
Posted by: dawid294 - Jan-02-2024, 03:23 PM - Forum: General Coding Help - No Replies

I have the problem with my script. The script works good, but not for big script. I would like to use big SQL script with left join , inner join and e..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  I need a specialist in Et... 2 hours ago yukitsunoda yukitsunoda General Codin...
  veri kazıma 8 hours ago fehmikonkur deepvyas Web Scraping ...
  Can I develop a live vide... Today, 07:08 mtrkhan MilesWeb Web Scraping ...
  python GUI - which to use... Today, 05:21 Johnse roshanchoudhary News and Disc...
  multiplication table Yesterday, 23:37 Skaperen Skaperen Bar
  How to add Permanent Sign... Yesterday, 22:33 vmars316 vmars316 Board
  Post Body (for "Forum Usa... 07-20, 06:17 hihi hihi Board
  None collapsing Tuple at ... 07-20, 05:21 hihi hihi Code Review
  [Tkinter] Label & OptionM... 07-20, 02:21 slate slate GUI
  Code stoped working 07-19, 10:55 OldMan57 DeaD_EyE News and Disc...
  ASCII-Codec in Python3 [S... 07-19, 08:53 AlphaInc Gribouillis General Codin...
Most views
  The best Prog... 572814
  Tutorial Requ... 485918
  Web Scraping ... 437270
  Newbie with P... 380305
  Thread remain... 351453
Most reputation
buran 581
snippsat 507
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+ 12071
buran 8175
snippsat 7351
deanhystad 6862
metulburr 5152
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
yukitsunoda Today
Stephenchers Today
Koadima Today
pillow Today
roshanchoudhary Today

User Panel Messages

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