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,244
» Latest member: thebigback
» Forum threads: 38,778
» Forum posts: 175,805

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 45 Guest(s)
Bing, AOL, Google

Latest Threads
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
1 hour ago
» Replies: 5
» Views: 179
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
7 hours ago
» Replies: 2
» Views: 59
I’m building a Python Dat...
Forum: GUI
Last Post: Gribouillis
10 hours ago
» Replies: 6
» Views: 170
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 73
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,593
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 164
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 154
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,585
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,392
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,592

 
  Unit Testing Set Up and Use
Posted by: RockBlok - Jan-08-2024, 05:17 PM - Forum: General Coding Help - Replies (2)

Hello again,

I found the unittest documentation and put together this simple scenario based on a tutorial I'm working through.

My question: Is i..... More

Print this item

  Writing a Linear Search algorithm - malformed string representation
Posted by: Drone4four - Jan-08-2024, 01:28 PM - Forum: General Coding Help - Replies (10)

I am writing a linear search algorithm. I've got the main logic under my belt but it's the string representation that I haven't got right. Below is my..... More

Print this item

  use .sql instead of script
Posted by: dawid294 - Jan-08-2024, 12:09 PM - Forum: General Coding Help - No Replies

Hi, I have one question , is possible to replace one thing on the script . I have the script. It works good, but i would like use text.sql intead of ..... More

Print this item

  Building a DoublyLinkedList in Python - - append method
Posted by: Drone4four - Jan-08-2024, 10:42 AM - Forum: General Coding Help - Replies (2)

Greetings Pythonistas!

I am learning how to write basic algorithms in Python but am taking an unusual approach. I am taking a Udemy course which te..... More

Print this item

  Works first time, not second time, no code changes in between
Posted by: m_g - Jan-08-2024, 01:24 AM - Forum: Homework - Replies (1)

Hi! Python beginner here.
In the screenshot, you can see me execute the same command twice in a row. The first time it works like it's supposed to, ..... More


Attached Files

Thumbnail(s)
   
Print this item

  question about descriptor
Posted by: akbarza - Jan-07-2024, 11:54 AM - Forum: General Coding Help - Replies (5)

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

[python]impor..... More

Print this item

  problem using coloeama module
Posted by: akbarza - Jan-07-2024, 11:40 AM - Forum: General Coding Help - Replies (3)

hi
the bellow code:
[python]'''
colorama usage.
from net has been taken.
'''

from colorama import Fore
print(Fore.YELLOW+" hello,world")
pri..... More

Print this item

  Remove part of the code
Posted by: hack3rcon - Jan-06-2024, 11:18 AM - Forum: General Coding Help - Replies (5)

Hello,
The following code checks both the username and the MAC address:
[python]
#!/usr/bin/python3

import re
import sys


db_file = '/etc/o..... More

Print this item

  tables in Excel
Posted by: MaartenRo - Jan-06-2024, 06:35 AM - Forum: General Coding Help - Replies (3)

Hi,

I have an Excel workbook with two sheets, called "Sheet1" and "Sheet2" with both 2 columns and 4 rows of data. They also have column headers. I..... More


Attached Files

.xlsx   Map1.xlsx (Size: 10.57 KB / Downloads: 208)
Print this item

  PAGE 8.0 RELEASED
Posted by: rob101 - Jan-05-2024, 06:03 PM - Forum: News and Discussions - Replies (4)

San Francisco, California: Don Rozenberg, creator of PAGE, today (Jan 1st 2024) announced version 8.0 of PAGE, a GUI designer for Python. PAGE 8.0 is ..... More

Print this item

  Compare folder A and subfolder B and display files that are in folder A but not in su
Posted by: Melcu54 - Jan-05-2024, 11:59 AM - Forum: General Coding Help - Replies (3)

Create a code that compares c:\Folder-Oana\extracted\ and c:\Folder-Oana\extracted\translated\ and shows me the files that are in the first folder, bu..... More

Print this item

  How do I organize my simple ftp modules?
Posted by: blobdx7 - Jan-05-2024, 10:47 AM - Forum: General Coding Help - Replies (3)

HI,
i'm very new to python, I'm trying to write some ftp modules for reuse.

Here are my modules/files list:
my_ftp.py: contains definition of my ftp..... More

Print this item

  Grouping in pandas/multi-index data frame
Posted by: Aleqsie - Jan-05-2024, 02:27 AM - Forum: Data Science - Replies (3)

I am trying to group this data frame from CSV file. It is a long data frame with multiple countries under the column COUNTRY and corresponding differe..... More

Print this item

  Python career recommendations
Posted by: skarface19 - Jan-04-2024, 08:15 PM - Forum: News and Discussions - No Replies

Hello,

I am new to this forum. Basically I subscribed here because I need your guidance. I have decided that this year my focus will be solely Pyth..... More

Print this item

  tkinter - touchscreen, push the button like click the mouse
Posted by: John64 - Jan-04-2024, 05:25 PM - Forum: GUI - Replies (5)

Hi,
I have PanelPC (Advantech) - Touchscreen computer with Windows10 Pro. Im build an app on Python to communicate with PLC Siemens via TCP. It's work..... More

Print this item

Information HTTP Client 2/3, multiplexed connection, advanced security, DNS-over-QUIC, etc..
Posted by: Ousret - Jan-03-2024, 08:04 PM - Forum: News and Discussions - No Replies

Hello,

I am proposing the community to discover a HTTP client that ideally is a drop-in replacement of the popular Requests.
Also opening that dis..... More

Print this item

  [solved] list content check
Posted by: paul18fr - Jan-03-2024, 02:10 PM - Forum: General Coding Help - Replies (6)

Hi,

I've a very naïve question, is there a simplier way to test a list content?b Smile
(solution#2 does the job in a single line)

Paul

..... More

Print this item

  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: 245)
.py   Player.py (Size: 6.75 KB / Downloads: 236)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Backward compatibility qu... 1 hour ago yutaozhou Gribouillis News and Disc...
  Help with Serial.write in... 7 hours ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... 10 hours ago tsgiannis Gribouillis GUI
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
Most views
  The best Prog... 578762
  Tutorial Requ... 509587
  Web Scraping ... 441886
  Newbie with P... 385859
  New Users Int... 375585
Most reputation
buran 581
snippsat 510
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+ 12103
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
thebigback Yesterday
dimitriwati Yesterday
johnsonlucas83 Yesterday
ColorTig Yesterday
AcoolPurpleOne1863 Yesterday

User Panel Messages

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