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,249
» Latest member: bmurray
» Forum threads: 38,779
» Forum posts: 175,819

Full Statistics

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

Latest Threads
New to python and coding
Forum: Homework
Last Post: jefsummers
2 hours ago
» Replies: 4
» Views: 104
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
4 hours ago
» Replies: 6
» Views: 175
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 309
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 275
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 108
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,622
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 212
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 190
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,236
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,422

 
  Multiprocessing Managing Help
Posted by: m7md_hka - Aug-22-2024, 09:57 AM - Forum: General Coding Help - No Replies

Hi everyone,

I’m working on a project where I need to handle multiple cameras for vehicle tracking. Each camera has two distinct processes:

Capt..... More

Print this item

  python error
Posted by: otai1 - Aug-22-2024, 08:13 AM - Forum: General Coding Help - Replies (1)

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\tkinter\__init__.py", line 1921, in __call__..... More

Print this item

  Use of the openpyxl library
Posted by: AndreaSpada - Aug-22-2024, 07:17 AM - Forum: General Coding Help - No Replies

Hello, I work in a Windows environment and use the openpyxl library to read and manipulate Excel files.
When installing the application on a new serv..... More

Print this item

  UART how to read 300 bytes ?
Posted by: trix - Aug-21-2024, 05:20 PM - Forum: General Coding Help - Replies (7)

hello,

I actually have to read a row of 300 bytes from a home made scanner.
I send a request to send it, and then I get the 300 bytes sent.
Of co..... More

Print this item

  need help writing a program to run VIN numbers, any advice?
Posted by: Jhins007 - Aug-21-2024, 01:44 AM - Forum: General Coding Help - Replies (4)

Hi all, I have been on the search for about half a year now for a truck my father sold in 2017 after all else has failed I have decided to start runni..... More

Print this item

  Fun CLI Blackjack program in Python!
Posted by: ChristanRas - Aug-21-2024, 12:48 AM - Forum: Code sharing - No Replies

https://github.com/ChristianRas/Blackjack

Print this item

  code timer
Posted by: Curbie - Aug-20-2024, 07:09 PM - Forum: General Coding Help - Replies (2)

While researching code timing online, the following code kept getting the most thumbs-up and always seemed to have a depreciated warning in the commen..... More

Print this item

  library for graphics
Posted by: Skaperen - Aug-20-2024, 12:24 AM - Forum: News and Discussions - Replies (2)

there are lots of graphics tools for Python, as my initial search easily shows. the issue i am running into is that these tools (mostly) seem to be f..... More

Print this item

  Sudden Extremely Slow / Failed Python Imports
Posted by: bmccollum - Aug-19-2024, 03:33 PM - Forum: General Coding Help - Replies (1)

I have numerous Python scripts that I've developed over the years on a VM at my office. 2 days ago, all of a sudden when I was continuing to enhance/..... More

Print this item

  i want to shorten a working section
Posted by: pizzakafz - Aug-19-2024, 03:18 PM - Forum: General Coding Help - Replies (15)

i have a working little number guessing game but there is one long repetitiv section that i dont know how to shorten (the section is beneth the line "..... More

Print this item

  Simplest way to run external command line app with parameters?
Posted by: Winfried - Aug-19-2024, 01:37 PM - Forum: General Coding Help - Replies (2)

Hello,

Out of curiosity, is this the simplest way in Python3 to run an external command-line application with parameters?

Thank you.

[python]from s..... More

Print this item

Sad customtkinter
Posted by: herus - Aug-18-2024, 08:12 PM - Forum: GUI - Replies (2)

[Image: hUtQ6T]

ı want put image to samw row with button as you see.but i cant do it.can someone help me?
ı m using custo..... More

Print this item

  Using RTC time in Rasberry Pi Programs
Posted by: sab201 - Aug-18-2024, 08:10 AM - Forum: General Coding Help - Replies (1)

Good Day,

I need some advice on this. I am planning to generate pwm with different frequencies from a Rasberry Pi 5. I learnt that the Pi 5 has an ..... More

Print this item

  Confused by the different ways of extracting data in DataFrame
Posted by: leea2024 - Aug-17-2024, 08:20 AM - Forum: General Coding Help - Replies (1)

Suppose we have the following DataFrame recording the results of 5 students.
[python]dic0 = {'Java':[87,65,26,89,67],
'C++':[63,98,66,89,80]..... More

Print this item

Question parallel merge sort algorithm with threads
Posted by: yangg - Aug-17-2024, 08:16 AM - Forum: General Coding Help - Replies (2)

Hello everyone!,
I have an assignment that i need to do and after countless of trails i cant figure it out and would be grateful for help.
Of course..... More

Print this item

  client A to server B connects but client B to server A doesnt connect
Posted by: gerald - Aug-16-2024, 08:51 PM - Forum: General Coding Help - Replies (1)

Hi everyone,

Computer A is connected by cable and computer B is connected by WIFI. When I run a server on computer A I can receive a string message s..... More

Print this item

  deleting files in program files directory
Posted by: RRADC - Aug-16-2024, 05:44 PM - Forum: General Coding Help - Replies (6)

Thanks for reading my post, I'm trying to create script in python that will delete all files in a directory with admin rights for the python script
..... More

Print this item

  [SOLVED] Reportlab - change a single page orientation
Posted by: beetlecad - Aug-16-2024, 01:20 PM - Forum: General Coding Help - Replies (1)

Hi, I'm developing PDF reports with Reportlab and Python.

The first page is A4 landscape
the second and third pages are A4 portrait

Is it possi..... More

Print this item

  VBScript LoadPicture() alternative within Python
Posted by: parun - Aug-16-2024, 11:21 AM - Forum: General Coding Help - No Replies

Hi All,

We are migrating VBScripts to Python scripts.
We hosts ActiveX controls in our applications, and interact with hosted ActiveX controls vi..... More

Print this item

  How to calculate integral value?
Posted by: Tli_You - Aug-16-2024, 08:43 AM - Forum: General Coding Help - Replies (5)

I am getting an IndexError, and not sure why? My goal is to calculate the Following integral.
the mathematical expression in attached file
[python]..... More


Attached Files

.docx   expression.docx (Size: 14.94 KB / Downloads: 179)
Print this item

  Python Installation issue
Posted by: RFHill - Aug-15-2024, 07:12 PM - Forum: News and Discussions - Replies (4)

I updated my Python version yesterday to 3.12.5. I installed it on my Windows 11 notebook and ran the installation as an Administrator.

After the i..... More

Print this item

  Unable to generate animation
Posted by: leea2024 - Aug-15-2024, 09:12 AM - Forum: General Coding Help - Replies (4)

Hi. I was trying to follow the code in a book to generate an animation in Jupyter Lab. However, the system shows 'RuntimeError'. I have already instal..... More

Print this item

  I got "Unclosed connector" when I tried to connect to my ewelink device
Posted by: pepeyomat - Aug-14-2024, 08:27 PM - Forum: Networking - Replies (1)

Hi everybody,

I have a script that works well till two days ago.

This script is used to check a smart wifi switch (SONOFF BASIC device) wich is ..... More

Print this item

  Netgear router automatically using selenium
Posted by: Raysz - Aug-14-2024, 07:14 PM - Forum: General Coding Help - Replies (3)

So I'm trying to log onto my Netgear router automatically using selenium

I was successful in doing so

What I'm trying to add to it is the abilit..... More

Print this item

  Question of Telebot
Posted by: mohsenamiri - Aug-14-2024, 07:03 AM - Forum: General Coding Help - No Replies

Hello,

I've created a Telegram bot (set on webhook) to demonstrate the issue I'd like to address:
The program currently returns the user's action..... More

Print this item

  creating a PDF document
Posted by: Skaperen - Aug-14-2024, 05:22 AM - Forum: News and Discussions - Replies (4)

what tools are best for a Python script to produce its output as a PDF document in latest version format (1.4)?

Print this item

  Screenshotting website and highlighting clickable elements
Posted by: natew - Aug-13-2024, 08:38 PM - Forum: Web Scraping & Web Development - No Replies

I'm coding a Python script that navigates to a website, screenshots it, and annotates boxes and numbers over every clickable element (buttons, text in..... More


Attached Files

Thumbnail(s)
           
Print this item

  'import requests' problem
Posted by: Curbie - Aug-13-2024, 06:52 PM - Forum: General Coding Help - Replies (2)

I got enough info with my first thread posted here, to commit to doing python tutorials, so far around 100 and still going, but reaching the end.
I c..... More

Print this item

  import data (.csv) into Jupyter notebook
Posted by: oranstprotonme - Aug-13-2024, 06:38 PM - Forum: General Coding Help - Replies (2)

I'm trying to import a dataset into a Jupyter Notebook (Windows 11) to practice machinie learning. I don't know the proper file location where the t..... More

Print this item

  Scraper issue
Posted by: scraperwannaB - Aug-13-2024, 05:29 PM - Forum: General Coding Help - Replies (5)

Hi,

I am new to python, but trying to learn. I am trying with the scraper code below:

Given:

[python]# import required modules
from bs4 import Be..... More

Print this item

  Python error - how do I fix it?
Posted by: gregaryb - Aug-13-2024, 03:07 PM - Forum: General Coding Help - Replies (5)

[python]import smtplib
import email
import os
from email.mime.image import MIMEImage
from email.mime.multipart import MIMEMultipart
from email.mi..... More

Print this item

  ncclient issues
Posted by: DOkuwa - Aug-13-2024, 09:26 AM - Forum: General Coding Help - Replies (1)

I am running a script from git which is below and it is coming out with ncclient issues

https://github.com/CiscoDevNet/clus2017_...emo_booth/..... More

Print this item

  Error coming while downloding url
Posted by: rgargmv - Aug-13-2024, 09:23 AM - Forum: General Coding Help - No Replies

Please tell what is the error as I am very new to python

Program:

[python]import argparse
from pytube import YouTube

VIDEO_SAVE_DIRECTORY = ..... More

Print this item

  Testing resolution for pygame window
Posted by: menator01 - Aug-12-2024, 10:23 PM - Forum: Game Development - Replies (3)

As the title says. Was just wondering if I could get some feedback on where the cyan square is placed on various screens..... More

Print this item

  A question on Boolean Data Type
Posted by: Hudjefa - Aug-12-2024, 09:42 PM - Forum: General Coding Help - Replies (5)

Below are a few things I learned I could do with the Boolean Data Type

print(str(bool(3 == 3)))
I also have a fair understanding of..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 2 hours ago lary_p jefsummers Homework
  Help with Serial.write in... 4 hours ago racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 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
Most views
  The best Prog... 578851
  Tutorial Requ... 509903
  Web Scraping ... 441919
  Newbie with P... 385923
  New Users Int... 376236
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+ 12107
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
bmurray Today
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday

User Panel Messages

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