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,398
» Latest member: zasamueluniorz7349
» Forum threads: 38,825
» Forum posts: 176,036

Full Statistics

Online Users
There are currently 28 online users.
» 0 Member(s) | 24 Guest(s)
Bing, Google, Apple

Latest Threads
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 2
» Views: 107
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 2
» Views: 102
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,175
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,638
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 187
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,614
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 275
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,633
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 247
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 384

 
  How to convert while loop to for loop in my code?
Posted by: tatahuft - Dec-20-2024, 01:35 AM - Forum: General Coding Help - Replies (4)

I have a working script in python like this:
[python]import re

handle_file1 = open("example1.so", "rb")
hex_file1 = handle_file1.read().hex().upp..... More

Print this item

  Problems writing a large text file in python
Posted by: Vilius - Dec-19-2024, 10:40 AM - Forum: General Coding Help - Replies (4)

Hi,

I have developed this semi-scientific code that acts as a TCP server. It listen for incoming messages, processes those and stores it in the compu..... More

Print this item

  LLM data I/O - for storing notes
Posted by: Alkanet - Dec-19-2024, 09:08 AM - Forum: General Coding Help - No Replies

Another late-nite death blunt led me to painfulanalporn.com, straight to "painal cry" tag; the front-featured scene is a tiny blonde cosplayin a nurse..... More

Print this item

  Storing DictProxy object and modifying its nested value?
Posted by: haihal - Dec-19-2024, 01:25 AM - Forum: General Coding Help - Replies (3)

The standard multiprocessing.managers.BaseManager module does not permit or recognize the use of nested objects, forcing one to resort to `multiproc..... More

Print this item

  How to read a file as binary or hex "string" so that I can do regex search?
Posted by: tatahuft - Dec-19-2024, 01:03 AM - Forum: General Coding Help - Replies (3)

For example,
If I open a file using hex editor, it showed
3C 47 23 56 59 59 66 38 38 5C 67 3A 5A 70 29 32 47 25 28 63 5D 33 32 39 69 30 58 53 2B 4B ..... More

Print this item

  [fixed] Debugging in a remote server using VScode
Posted by: paul18fr - Dec-18-2024, 09:25 AM - Forum: News and Discussions - Replies (1)

Hi,

I'm wondering if an experienced user can help in debugging (python codes) in a remote server using VScode? especially when environments must be..... More

Print this item

  How can I make this code more efficient and process faster?
Posted by: steven_ximen - Dec-17-2024, 04:27 PM - Forum: General Coding Help - No Replies

The main function simulates receiving as much data as possible and then forwarding it to other subprocesses for processing. There will actually be mul..... More

Print this item

  Matplotlib not working
Posted by: svalencic - Dec-17-2024, 03:53 PM - Forum: General Coding Help - Replies (4)

Hi everyone,

I'm getting error while using Matplotlib. Importing it using import matplotlib.pyplot as plt works perfect, however any other function..... More

Print this item

  Asyncio subprocess blocking with python workload only
Posted by: lloydbond - Dec-17-2024, 03:03 PM - Forum: General Coding Help - Replies (1)

issue: if you start a subprocess that has a pipe to stdout for the purpose of concurrently processing output from stdout using asyncio everythi..... More

Print this item

  Search in a file using regular expressions
Posted by: ADELE80 - Dec-17-2024, 10:48 AM - Forum: General Coding Help - Replies (2)

Hello all,

I have the following file with DB_BASE commented:

profile.txt

export DB_SID=NEW
#export DB_BASE=/oracle/${DB_SID}
export DB_HOME..... More

Print this item

  Using place for a button, many examples but AttributeError, tkinter
Posted by: Edward_ - Dec-16-2024, 04:17 PM - Forum: GUI - Replies (3)

This must be very simple, how to Place a button by x and y coordinates, not using a frame/grid.

button.place(x=100, y=200)
Shown in e..... More

Print this item

  button image changing but not visually updating
Posted by: RuaridhW - Dec-16-2024, 09:48 AM - Forum: GUI - Replies (2)

Hi complete noob but i've been banging my head against this for 2 days and still can't work out what i'm doing wrong

So i am trying to setup a stack ..... More

Print this item

  Sound notification issue
Posted by: drgensel - Dec-16-2024, 05:24 AM - Forum: GUI - Replies (2)

Greetings,

I have designed an app, in tkinter, that pulls live incident (call) data from my local fire department. My goal for this app is to be no..... More

Print this item

  Generative Density Approximation for Deterministic Point Patterns: Hopalong Attractor
Posted by: ratwolf - Dec-15-2024, 11:57 AM - Forum: Code sharing - Replies (2)

The "Hopalong" attractor (Martin’s map) shown as a Density Heatmap, which enables a 3D representation by mapping normalized density values ​​al..... More


Attached Files

Thumbnail(s)
               
Print this item

  Database search in python for MongoDB
Posted by: Abdul515001 - Dec-14-2024, 12:31 PM - Forum: General Coding Help - No Replies

I am trying to develop a application which search and fetch the information from MongoDB through natural language query. What is the best way to do ..... More

Print this item

Question A unexpected indent error
Posted by: Zyh3rbr0 - Dec-14-2024, 06:25 AM - Forum: General Coding Help - Replies (4)

Hello anyone in this forum;

I would like some help in my project.

Could anyone spot the error for me?

I encountered a SyntaxError about Unexp..... More


Attached Files

.py   password_picker.py (Size: 619 bytes / Downloads: 206)
Print this item

  Finding a job as a Python Developer
Posted by: keithgoff - Dec-13-2024, 03:43 AM - Forum: Jobs - Replies (2)

I'm currently a PHP/JavaScript full stack developer and I am looking to transition to being a backend Python developer. I have about 3/4 years experie..... More

Print this item

  Python 3.13(Windows) does not have the latest module OS
Posted by: phillip_from_oz - Dec-13-2024, 03:27 AM - Forum: General Coding Help - Replies (1)

I have installed the latest Python 3.13.1 on my Windows 10 PC.

I'm trying to run program pssh which requires OS.pipe2().

The module OS should ha..... More

Print this item

  Python: How to import data from txt, instead of running the data from the code?
Posted by: Melcu54 - Dec-12-2024, 07:46 PM - Forum: General Coding Help - Replies (1)

Instead of loading ro_tags: and en_tags: from the code, I want to modify only the import, so to extract them from: d:\3\PROBEMA\rezultat..... More

Print this item

  Trying to update label text using a grid button.
Posted by: Edward_ - Dec-12-2024, 06:36 PM - Forum: GUI - Replies (7)

I'm wanting to learn a couple simple text manipulations, like changing label and button text based on a button input or code.
But I can't seem to get..... More

Print this item

  [split] Code help
Posted by: emma1423 - Dec-12-2024, 10:34 AM - Forum: General Coding Help - Replies (1)

I created a peer-to-peer lending simulation in spyder when I run my main output I get an error in creating one of my plots and Im not sure why. The er..... More

Print this item

  Can't get no email to show
Posted by: Raysz - Dec-11-2024, 03:44 PM - Forum: General Coding Help - No Replies

[quote]
So I have this simple program that checks my email
everything is working the way it should

I would like to have it print there are no new..... More

Print this item

  gpiozero button turn off LED that is already on
Posted by: duckredbeard - Dec-11-2024, 03:34 PM - Forum: General Coding Help - Replies (3)

I have a Raspberry Pi on my desk. It is wired to an LED and a button. My phone sends an SSH to the Pi when it gets a text message. The SSH runs thi..... More

Print this item

  What can I add more? or is it fine>
Posted by: s1lent - Dec-11-2024, 05:31 AM - Forum: Code Review - No Replies

Hello guys I have made a Duplicate Remover using tkdnd and pandas what should I add more to it?
[python]
import os
from tkinter import *
import pandas..... More

Print this item

  Error during `python setup.py develop` and `pip install -r requirements.txt`
Posted by: lokalhangatt - Dec-11-2024, 04:59 AM - Forum: Code sharing - Replies (1)

I'm encountering an issue while trying to install the dependencies for my Python project using setup.py and [inline]pip install -r re..... More

Print this item

  Error: cannot mix str with (non-str) arguments
Posted by: ngregistrations - Dec-10-2024, 10:05 PM - Forum: General Coding Help - Replies (4)

Hello everyone,

I have a function that connects to an API and get data and needs 3 parameters, all string, but one of them is a GUID. So I validate..... More


Attached Files

Thumbnail(s)
       
Print this item

  Operation Not Permitted
Posted by: CaptainNewb - Dec-10-2024, 09:34 PM - Forum: General Coding Help - Replies (1)

Hi, per my username I'm relatively new to python ;-)

I have a new Mac and when I attempt to run a python script via cron, I receive the following er..... More

Print this item

  How to get keep information in a loop
Posted by: ginod - Dec-10-2024, 05:53 PM - Forum: General Coding Help - Replies (4)

Hey there,

I am new to python. At the moment I am trying to program a GUI, that show me some user information from a table of a SQL Database with a..... More

Print this item

  interlinked Comboboxes
Posted by: azelor - Dec-10-2024, 03:34 PM - Forum: GUI - Replies (4)

Hi!

I'm trying to link two comboboxes but I'm running into the retrieval of the second one after selection.

---------------------- --------..... More

Print this item

  Python Thread Detection
Posted by: HansieB - Dec-10-2024, 10:49 AM - Forum: General Coding Help - Replies (2)

Dear forum member,

Is a pyhon (wifi) (open source) thread detection available?

Regards.

HansieB

Print this item

  Noob programmer - game of Nim help
Posted by: Dazzalac - Dec-09-2024, 04:10 PM - Forum: Homework - Replies (4)

Hi, I'm a complete noob to Python so please be nice! Pray

I am writing a game of nim program and I've come across an issue where I've managed..... More


Attached Files

.zip   GameOfNim Computer.zip (Size: 1.5 KB / Downloads: 172)
Print this item

  Need help making a desktop plant
Posted by: Salmonoid06 - Dec-09-2024, 04:25 AM - Forum: General Coding Help - Replies (1)

Hi,
I'm very new to python and need some advice on how to go about coding my project.

I'm trying to make a plant that will appear only my desktop,..... More

Print this item

  [split] Prime numbers
Posted by: saima - Dec-08-2024, 02:47 PM - Forum: General Coding Help - Replies (1)

[python]def is_prime(num): #function to check if a number is prime
if num < 2: #numbers less than 2 aren't prime
return False
for i..... More

Print this item

  Unable to Generate Class Code in Flask App - Form Not Submitting Correctly
Posted by: misbahskuy - Dec-08-2024, 06:55 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi, I’m working on a Flask application where employees can generate class codes. I’ve set up a form to handle the submission of class codes (including..... More

Print this item

  Extract args=, value that was passed to Multiprocessing.Proc object during runtime?
Posted by: haihal - Dec-07-2024, 03:45 PM - Forum: General Coding Help - Replies (1)

The attaced image greatly goes into detail of I'm trying to do. The specific queue passed in:
[python]p = multiprocessing.Process(target=work..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Check if running from she... 3 hours ago rjdegraff42 noisefloor General Codin...
  Sorry Help 3 hours ago BioNanoTech noisefloor General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580478
  Tutorial Requ... 520031
  Web Scraping ... 442797
  Newbie with P... 387015
  New Users Int... 386784
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
zasamueluniorz7349 Today
BioNanoTech Today
CarlApome Yesterday
cruisesfares 12-30
azam 12-30

User Panel Messages

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