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,431
» Latest member: PiloPus
» Forum threads: 38,549
» Forum posts: 174,681

Full Statistics

Online Users
There are currently 475 online users.
» 0 Member(s) | 469 Guest(s)
Bing, Google, Yandex, Apple, Google Image

Latest Threads
Voluptuous Asian bare all
Forum: Data Science
Last Post: PiloPus
32 minutes ago
» Replies: 0
» Views: 9
where should DEFAULT_CIPH...
Forum: General Coding Help
Last Post: snippsat
2 hours ago
» Replies: 6
» Views: 286
what name to give to a ne...
Forum: News and Discussions
Last Post: Skaperen
4 hours ago
» Replies: 4
» Views: 123
CSV reader with PyQt6
Forum: Code sharing
Last Post: Axel_Erfurt
5 hours ago
» Replies: 1
» Views: 64
Python script not working...
Forum: Web Scraping & Web Development
Last Post: texwilson47
5 hours ago
» Replies: 0
» Views: 40
function arguments
Forum: General Coding Help
Last Post: Curbie
8 hours ago
» Replies: 2
» Views: 189
Eight Queens Problem, err...
Forum: General Coding Help
Last Post: Gribouillis
9 hours ago
» Replies: 10
» Views: 644
Picamera2 commands betwee...
Forum: General Coding Help
Last Post: GigiG
Yesterday, 11:16 AM
» Replies: 0
» Views: 89
Automating the CyberGhost...
Forum: General Coding Help
Last Post: surendragupta
Yesterday, 11:10 AM
» Replies: 0
» Views: 69
PyVisa Query Command fail...
Forum: General Coding Help
Last Post: dazz
Yesterday, 10:10 AM
» Replies: 0
» Views: 75

 
  PyInstaller
Posted by: Raysz - Aug-22-2024, 09:15 PM - Forum: General Coding Help - No Replies

I've been using PyInstaller for quite some time now and I have been pretty successful with all my projects
I now have run into a problem where I need..... More

Print this item

  Dictionary using path.
Posted by: Bobbee - Aug-22-2024, 06:30 PM - Forum: General Coding Help - Replies (5)

I have a dictionary:

{'Q_MGR_NAME': 'BOBBEE2', 'START_DATE': '2024-08-21', 'START_TIME': '05.08.47', 'END_DATE': '2024-08-21', 'END_TIME': '05.09.4..... More

Print this item

  Accessing item in the system tray on Windows 11
Posted by: mariox - Aug-22-2024, 05:11 PM - Forum: General Coding Help - No Replies

Hello,
Is there any way to access items in the system tray on Windows 11? I want to get a list of apps inside the system tray but can't find a solut..... More

Print this item

Smile Who can help the SyntaxError: expected ':' for forloop
Posted by: skchui6159 - Aug-22-2024, 02:10 PM - Forum: News and Discussions - Replies (1)

from bs4 import BeautifulSoup
html="""
<html>
<head>
<meta charset="utf-8"/8>
<title>Hello</title>
</head>
<body>
<p>Hellow World1</p>
<p>Hel..... More

Print this item

  Python beginner needs json help
Posted by: rwskinner - Aug-22-2024, 01:06 PM - Forum: General Coding Help - Replies (1)

I have a device that I recieve json messages from and for some reason, finding the keys works on one message but not another. The code worked fine wh..... More

Print this item

  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: 104)
Print this item

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

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Voluptuous Asian bare all 32 minutes ago PiloPus PiloPus Data Science
  where should DEFAULT_CIPH... 2 hours ago Skaperen snippsat General Codin...
  what name to give to a ne... 4 hours ago Skaperen Skaperen News and Disc...
  CSV reader with PyQt6 5 hours ago suburbanprojects Axel_Erfurt Code sharing
  Python script not working... 5 hours ago texwilson47 texwilson47 Web Scraping ...
  function arguments 8 hours ago Curbie Curbie General Codin...
  Eight Queens Problem, err... 9 hours ago snl_9527 Gribouillis General Codin...
  Picamera2 commands betwee... Yesterday, 11:16 GigiG GigiG General Codin...
  Automating the CyberGhost... Yesterday, 11:10 surendragupta surendragupta General Codin...
  PyVisa Query Command fail... Yesterday, 10:10 dazz dazz General Codin...
  White Screen Issue with T... Yesterday, 06:43 evelynfreya encore General Codin...
Most views
  The best Prog... 557374
  Tutorial Requ... 424401
  Web Scraping ... 422917
  Newbie with P... 350969
  Thread remain... 324889
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 325
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12035
buran 8165
snippsat 7322
deanhystad 6806
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
PiloPus Today
Petitfilspoutine04 Yesterday
texwilson47 Yesterday
suburbanprojects Yesterday
WassCodeur Yesterday

User Panel Messages

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