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,479
» Latest member: livecricket
» Forum threads: 38,579
» Forum posts: 174,812

Full Statistics

Online Users
There are currently 737 online users.
» 1 Member(s) | 733 Guest(s)
Google, Bing, Yandex, snippsat

Latest Threads
How to attach images to a...
Forum: Board
Last Post: sethmike9
8 hours ago
» Replies: 6
» Views: 8,862
How To Attach data Files
Forum: Board
Last Post: sethmike9
8 hours ago
» Replies: 3
» Views: 4,132
Text frame
Forum: Homework
Last Post: Pedroski55
Yesterday, 07:39 PM
» Replies: 2
» Views: 352
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
Yesterday, 06:28 PM
» Replies: 0
» Views: 130
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 268
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 206
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
May-15-2025, 07:38 AM
» Replies: 4
» Views: 1,382
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
May-15-2025, 12:25 AM
» Replies: 0
» Views: 152
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
May-14-2025, 05:21 PM
» Replies: 5
» Views: 477
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-14-2025, 04:02 PM
» Replies: 16
» Views: 1,322

 
  Python automation: Sending clicks/keys to VMware virtual machine from host
Posted by: olips784 - Yesterday, 06:28 PM - Forum: General Coding Help - No Replies

Hello,
I have a Windows 10 host machine running VMware Workstation with a virtual machine (VM) inside it. I run a game inside the VMware VM, and I wa..... More

Print this item

Question Import vs from x import
Posted by: Calab - May-15-2025, 01:58 PM - Forum: General Coding Help - Replies (1)

I'm trying to figure out why you would create a containing class if you were just going to import it from a file, vs just creating the g..... More

Print this item

  tracking version during run
Posted by: Skaperen - May-15-2025, 12:25 AM - Forum: News and Discussions - No Replies

suppose there is a Python script that intends to be run if the host has a version at or above a specific version X.Y. suppose the host also has an ol..... More

Print this item

  class Blockage not projecting
Posted by: Azdaghost - May-14-2025, 01:09 PM - Forum: General Coding Help - Replies (1)

Hello! I am making a module similar to pygame, and I have a problem.
whenever I type in this:

[python]blockage = display.Blockage(10, 10, 50, 50,..... More

Print this item

  Return a string or byte object from Enum class?
Posted by: Calab - May-13-2025, 03:57 PM - Forum: General Coding Help - Replies (5)

I wish to have a class that simply contains some values. I want to avoid using the .value attribute. In other words I want to use "class.my_enum" to g..... More

Print this item

  Library Management System
Posted by: annajoy - May-13-2025, 12:59 AM - Forum: Homework - Replies (1)

Hi everyone,

I'm working on a P..... More

Print this item

Question Why are the PythonT symlinks created by default (macOS)
Posted by: gernophil - May-12-2025, 08:10 AM - Forum: News and Discussions - No Replies

Hey everyone,
I just installed Python3.13 from python.org and I was wondering about all the PythonT symlinks in /usr/local/bin:

`python3.13t->....... More

Print this item

  Pip help
Posted by: meditek - May-11-2025, 06:14 PM - Forum: General Coding Help - Replies (4)

I was told by the author of a github showing to run this command after installig Python :-

pip install opencv-python numpy python3_xlib pyautogui ..... More

Print this item

  smbus.SMBus i2c code which worked to v.3.7.3 does not on Python 3.11.2
Posted by: NewbyTyro - May-11-2025, 11:41 AM - Forum: General Coding Help - Replies (2)

The code below has worked on a set of Raspberry Pi 2B single board computers in my workshop for some years now, each of them using a local real time c..... More

Print this item

  Tkinter: Problem with storing data from one window to the other
Posted by: iforire - May-11-2025, 08:44 AM - Forum: General Coding Help - Replies (1)

Dear all,

I am very new to Python and Tkinter, so sorry if the question is very basic.
I cannot manage to store the value of a parameter, here "va..... More

Print this item

  where variable arguments is documented
Posted by: Skaperen - May-11-2025, 01:51 AM - Forum: News and Discussions - Replies (1)

i am looking for official documentation in the references for how arguments are provided to functions that are to get a variable number of arguments, ..... More

Print this item

  [Python] Issue of Adding Single and Bulk Vouchers to UserMan
Posted by: Aymen - May-10-2025, 06:39 PM - Forum: General Coding Help - No Replies

Hi , i have the following code to add bulk of voucher (users) to Mikrotik UserMan Radius , it's working ok but when i add vouchers , Mikrotik CPU util..... More

Print this item

  Review of a ping tool made with PyQt6
Posted by: suburbanprojects - May-10-2025, 08:51 AM - Forum: Code Review - Replies (2)

I made a basic ping tool with PyQt6, so just wondering if further improvements could be made. One thing I did notice was a moment will pass before it ..... More

Print this item

  Monitor Computer Internal Clock
Posted by: EdMcCauley - May-09-2025, 02:32 PM - Forum: General Coding Help - Replies (3)

I'm working on my first Python program. I need to set up an internal timer so that an equation will be solved to produce updated data at 1 second inte..... More

Print this item

  total Noob question: Why is the code not executed
Posted by: MarkMan - May-09-2025, 10:23 AM - Forum: General Coding Help - Replies (5)

I am a total noob at learning python (day 6) and i gave myself a homework.

The program is a game where the user has to guess a number between 1-100..... More

Print this item

  How to use isintance with condition?
Posted by: Azdaghost - May-07-2025, 11:21 PM - Forum: General Coding Help - Replies (3)

Hello! I am trying to make my own language and I came across a problem.

I want it to check the type of data the user inputted, but the thing is tha..... More

Print this item

  problems with netcdf if I compile Android
Posted by: Blaubart - May-07-2025, 06:22 PM - Forum: General Coding Help - Replies (16)

Hi,

I try to compile this repository for Android:
https://github.com/OpenSoaring/OpenSoar

I get this error:
root@Werkstatt:/home/dirk/openvari..... More

Print this item

  500 Internal Server error trying to run external Python script via HTML
Posted by: ppowell777 - May-07-2025, 12:14 AM - Forum: Web Scraping & Web Development - Replies (3)

I am running a very simple HTML script on IIS 10.0 using Brython to communicate with a Python script.

HTML:

[code=html]
<html>
<!-- Based on h..... More

Print this item

  Text frame
Posted by: dnabtuh - May-06-2025, 10:24 PM - Forum: Homework - Replies (2)

Python and AutoCAD

Hi All

Anyone has a code or and idea how to draw in AutoCAD tight (offset = 0 ?) frame around text using python coding? I nee..... More


Attached Files

Thumbnail(s)
   
Print this item

  Gomoku game problem
Posted by: snl_9527 - May-06-2025, 03:07 AM - Forum: General Coding Help - Replies (6)

[python]
import pygame
pygame.init()

#game constants
WINDOW_SZ = 720
BOARD_SZ = 16
COLOR = [(255,255,255),(0,0,0)]
LINE_COLOR = (0,0,0)
BOAR..... More


Attached Files

.zip   gomokuame.zip (Size: 33.15 KB / Downloads: 24)
Print this item

  Question regarding Python
Posted by: LPTtech - May-05-2025, 02:43 PM - Forum: General Coding Help - Replies (1)

Hi everyone,

I'm working on a project that requires both data acquisition and equipment control. One of the key components I need to interface with..... More

Print this item

  How to space data on x axis
Posted by: m_kdch - May-05-2025, 12:55 PM - Forum: General Coding Help - No Replies

Hi everyone!

I'm trying to represent some data with matplotlib. For this particular set, I need to compare only two data, each composed of a mean +..... More


Attached Files

Thumbnail(s)
   
Print this item

  Retired and Learning Python
Posted by: breacsealgaire - May-04-2025, 04:26 AM - Forum: Code sharing - Replies (1)

After 50 years of software development from IBM 360 mainframes to Azure cloud I've decided to keep active at home and decided Python looked interestin..... More

Print this item

  tkinter only storing last element/data from entry widget
Posted by: bertschj1 - May-03-2025, 11:49 PM - Forum: General Coding Help - Replies (8)

Hello. I'm new here, and in desperate need of help! I don't have much experience with tkinter, so I may have botched something along the way. Here's m..... More

Print this item

Question [SOLVED] [Windows] Change directory date?
Posted by: Winfried - May-03-2025, 04:32 PM - Forum: General Coding Help - Replies (2)

Hello,

I mistyped a "dir" command in Windows, and now all the subdirectories have the (wrong) same date :-/

As a way to get a more realistic dat..... More


Attached Files

Thumbnail(s)
   
Print this item

  need help with fixing data vulnarabilities
Posted by: anaconda99 - May-03-2025, 04:19 PM - Forum: General Coding Help - Replies (1)

at the office some of our python was recently scanned for vulnarabilities.
the scan report identified some python code that had injection issues.
I ..... More

Print this item

  Grok Acedemy Sport Microbit Tilt Both Ways Help
Posted by: happyhippo - May-03-2025, 02:15 AM - Forum: Homework - Replies (1)

Hello, im currently doing the grok academy sport microbit course and im up to ‘Tilt Both ways’ an activity in module 5. I have cleared most of the tes..... More

Print this item

Star Build Fast, Type-Safe APIs with Django Ninja – Full Guide + CRUD Example
Posted by: Mido - May-02-2025, 06:51 PM - Forum: Tutorial Requests and Submissions - No Replies

If you're working with Django and want to build fast, clean, and modern APIs, Django Ninja is a powerful tool worth exploring. It brings FastAP..... More

Print this item

  How to understand object-oriented programming?
Posted by: snl_9527 - May-01-2025, 02:45 PM - Forum: General Coding Help - Replies (3)

As a beginner just starting to learn Python, I'm quite confused by object-oriented programming. I don't know how to understand this concept, and it do..... More

Print this item

Information [SOLVED] [Beautiful Soup] How to deprettify?
Posted by: Winfried - May-01-2025, 08:30 AM - Forum: General Coding Help - Replies (3)

Hello,

I made the mistake of using soup.prettify() to save soups to files, and I now have whitespaces that show up as useless spaces when viewing t..... More

Print this item

  Python script not working after 12 hours
Posted by: texwilson47 - Apr-30-2025, 07:43 PM - Forum: Web Scraping & Web Development - Replies (3)

Good Afternoon,

I have a question. I am new to Python and I have a scraping script that is setup in Debian (moving to Raspberry Pi 5) where I scra..... More

Print this item

  CSV reader with PyQt6
Posted by: suburbanprojects - Apr-30-2025, 07:29 PM - Forum: Code sharing - Replies (3)

A basic CSV reader with save function made with pyqt6. Code also available at ..... More

Print this item

  Picamera2 commands between modules
Posted by: GigiG - Apr-30-2025, 11:16 AM - Forum: General Coding Help - Replies (3)

Hi all, please be patience, I'm a newbie
I started to write a simple program to allow comunication and control between App Inventor and Python on RPi..... More

Print this item

  Automating the CyberGhost VPN
Posted by: surendragupta - Apr-30-2025, 11:10 AM - Forum: General Coding Help - No Replies

I am automating the cyberghost vpn using python code but i can't inspect that cyberghost vpn and so i need to click the elements by taking the referen..... More

Print this item

  PyVisa Query Command fails
Posted by: dazz - Apr-30-2025, 10:10 AM - Forum: General Coding Help - Replies (1)

Hi
I am restoring an Electro-Metrics EMC-30 receiver. This is a Mil-Spec EMC test receiver that includes a GPIB bus. This is an old piece of kit.
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to attach images to a... 8 hours ago CynthiaMoore sethmike9 Board
  How To Attach data Files 8 hours ago Talch sethmike9 Board
  Text frame Yesterday, 19:39 dnabtuh Pedroski55 Homework
  Python automation: Sendin... Yesterday, 18:28 olips784 olips784 General Codin...
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
  tracking version during r... 05-15, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... 05-14, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... 05-14, 09:04 breacsealgaire BarbaraGonzalez Code sharing
Most views
  The best Prog... 565544
  Tutorial Requ... 457048
  Web Scraping ... 430455
  Newbie with P... 366745
  Thread remain... 338948
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
livecricket Today
reactnativeexpert Today
sethmike9 Today
Juh_07 Today
Jolex7 Today

User Panel Messages

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