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: CarlApome
» Forum threads: 38,824
» Forum posts: 176,032

Full Statistics

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

Latest Threads
IP address for users
Forum: Networking
Last Post: DeaD_EyE
1 hour ago
» Replies: 6
» Views: 7,147
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
1 hour ago
» Replies: 1
» Views: 31
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Today, 07:58 AM
» Replies: 28
» Views: 15,593
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 148
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,611
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 226
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,627
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 197
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 346
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 10,007

 
  robocopy question
Posted by: DPaul - Jun-11-2024, 07:11 AM - Forum: Bar - Replies (4)

Looking for somebody with hands-on experience in robocopy.
I want to do the simplest of things, copy and paste, but the number of switches is confusi..... More

Print this item

  Help with QR Code
Posted by: Miisato - Jun-11-2024, 02:10 AM - Forum: General Coding Help - Replies (4)

Dive into the dirtiest, rawest action on the web with our collection of free forced sex videos. Ready for brutal fucking that'll leave you gasping? We..... More

Print this item

  "[Errno 2] No such file or directory" (.py file)
Posted by: IbrahimBennani - Jun-10-2024, 07:06 PM - Forum: General Coding Help - Replies (13)

Hi to you all,

I am reaching out due to an issue while trying to run a ".py" file on Windows 11 Home Single Language.

After entering this on the..... More


Attached Files

Thumbnail(s)
   
Print this item

  Problems with ploting data
Posted by: vermor - Jun-10-2024, 01:49 PM - Forum: Data Science - Replies (4)

Hello python world, Im new to python just a heads up. Also most of the tags and names are in spanish as its the language we speak and have to deliver ..... More

Print this item

  smtplib send email has no timestamp
Posted by: Pedroski55 - Jun-10-2024, 07:17 AM - Forum: General Coding Help - Replies (2)

I want to send emails to customers automatically. So I am testing with just 5 email addresses to see how it works

I import these

[python]import ..... More

Print this item

  how to test if something is a sequence?
Posted by: Skaperen - Jun-09-2024, 11:54 PM - Forum: General Coding Help - Replies (11)

how to test if something is a sequence (as opposed to merely a list)?

Print this item

  Variable being erased inside of if statement
Posted by: deusablutum - Jun-09-2024, 07:50 PM - Forum: General Coding Help - Replies (8)

On the program I'm currently working on I have a variable that disappears at an if statement and I can't figure out why. Here is sort of what the code..... More

Print this item

  Guidance for the basic concept send/receive a heartbeat signal
Posted by: StefanL38 - Jun-09-2024, 01:40 PM - Forum: General Coding Help - Replies (1)

Hi Everybody,

I have some experience in programming pascal / delphi and C++.
So this means I know the basic concepts. But I have almost no knoweld..... More

Print this item

  Regex to catch what user has put in text box
Posted by: robertkwild - Jun-09-2024, 01:09 PM - Forum: General Coding Help - Replies (26)

hi all,

this is a small snippet from my python flask-wtf code

[python]
class PasswordForm(FlaskForm):
un = StringField('Username', [InputR..... More

Print this item

  How to compare specific elements of a TSV in difflib
Posted by: gonksoup - Jun-08-2024, 12:11 PM - Forum: General Coding Help - Replies (1)

This compare routine works fine to constrain the search to specific rows and columns. However, the column limits are useless if I want to compare 2 T..... More

Print this item

  Formatting DateTime string and and converting it from AM/PM to 24 hours
Posted by: tester_V - Jun-08-2024, 06:53 AM - Forum: General Coding Help - Replies (2)

Greetings!
Here are two snippets, it seems both are right but only first one is working:
I'm confused why the second one is not working:
[python]
dt_s..... More

Print this item

  Is NaN a float?
Posted by: Pedroski55 - Jun-08-2024, 06:19 AM - Forum: General Coding Help - Replies (4)

Is NaN a float?

The girlfriend works for a company that exports agrochemicals. She sent me an Excel with about 250 customers details, mostly in Afr..... More

Print this item

  Warn user of validation error before they click submit
Posted by: robertkwild - Jun-07-2024, 08:17 PM - Forum: General Coding Help - Replies (1)

hi all,

so ive done a flask-wtf form but instead of warning users after they click the “submit button” i want it to warn them before ie as soon as ..... More

Print this item

  how solve: local variable referenced before assignment ?
Posted by: trix - Jun-07-2024, 05:27 PM - Forum: General Coding Help - Replies (5)

hello,

i am writing a code for a stepper motor, it moves from the left to the right.
i limit the movement with a software limit.
if the stepper g..... More

Print this item

  Reading an ASCII text file and parsing data...
Posted by: oradba4u - Jun-07-2024, 04:55 PM - Forum: General Coding Help - Replies (2)

I have attached a sample Scores file from a HR Derby app (qaz.txt). it is an ASCII text file.
I am attempting to write a python program to read this ..... More


Attached Files

.py   derby_read.py (Size: 1.89 KB / Downloads: 247)
.txt   qaz.txt (Size: 35.87 KB / Downloads: 242)
Print this item

  colomns error
Posted by: konya42 - Jun-07-2024, 08:18 AM - Forum: General Coding Help - No Replies

[python][quote]import pandas as pd

# Location of the Excel file and the name of the sheet
file_path = r'C:\Users\elf\Desktop\BUY.xlsx'
sheet_name..... More

Print this item

  Most efficient way to roll through a pandas dataframe?
Posted by: sawtooth500 - Jun-07-2024, 03:31 AM - Forum: General Coding Help - Replies (2)

See the below example of a pandas df.

Assumptions - The datetime index will ALWAYS be at 1 second interval

So I need a "rolling" window of this..... More

Print this item

  Explosion hits enemies, they explode as well
Posted by: flash77 - Jun-06-2024, 07:22 PM - Forum: Game Development - Replies (4)

Hello,
I'm currently programming a small game and, apart from 2 topics, I'm almost finished. There is one topic I would like to ask about today. When..... More

Print this item

  HTTP, python size e upload file
Posted by: it6 - Jun-06-2024, 01:06 PM - Forum: Networking - No Replies

Hello everyone,

I need to use the HTTP API of transfernow (https://developers.transfernow.net/) to implement a Python application that allows you t..... More

Print this item

  Do any of you work with a devopment team?
Posted by: phpjunkie - Jun-06-2024, 08:26 AM - Forum: Bar - Replies (1)

If you do, do you have a supervisor that checks your code?

Print this item

Question Tetris... xpos, ypos of next block is not initialized after hard drop
Posted by: dddd123p - Jun-06-2024, 06:05 AM - Forum: Game Development - No Replies

(sorry poor english)
Hello.
I have trouble in making tetris.
I can't make xpos, ypox of next block be initialized after hard drop.
How I mo..... More

Print this item

  Downloading Page Source From URL List
Posted by: zunebuggy - Jun-05-2024, 06:51 PM - Forum: General Coding Help - Replies (11)

[python]from urllib.request import urlopen
from pathlib import Path

with open(r'D:\Desktop\sites.txt', 'r', encoding='UTF-8') as file:
while ..... More

Print this item

  raspberry pi in a python script
Posted by: Raysz - Jun-05-2024, 12:44 PM - Forum: General Coding Help - Replies (5)

Quote:Hey everyone
so I have this simple function for my raspberry pi
and I made a python file it does work

[python]
from gpiozero ..... More

Print this item

  Webscrape script, add to run every day at a specific time
Posted by: jjcooper - Jun-04-2024, 05:51 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

I have the following code which pulls data from the web (Booking.com). Does anyone know how to add code to it which would run it every day a..... More

Print this item

  <Figure size 640x480 with 0 Axes> problem during plotting in matplotlib
Posted by: Kashfi - Jun-04-2024, 12:07 PM - Forum: Data Science - Replies (1)

I am trying to plot a PDP plot using Matplotlib, but I find an error that indicates that figures were created but nothing was drawn on it.
This is my..... More


Attached Files

Thumbnail(s)
       
Print this item

  Error Calculating Circle Area in Python
Posted by: aaronramsdale - Jun-04-2024, 07:20 AM - Forum: General Coding Help - Replies (1)

I'm working on a Python script to calculate the area of different shapes. I have functions defined for calculating the area of a square and a rectangl..... More

Print this item

  Having difficulty with threads and input()
Posted by: sawtooth500 - Jun-03-2024, 07:34 PM - Forum: General Coding Help - Replies (13)

Hello,

I have the below function running on it's own thread:

[python]
def handle_input(ws, stop_event):
while not stop_event.is_set():
..... More

Print this item

  DEC pack, unpack and disk-images
Posted by: Curbie - Jun-03-2024, 06:57 PM - Forum: General Coding Help - Replies (32)

Pyton newbie here, but programming in one language or another 50 years. Someone who’s opinion I trust said I should look into python because of it’s r..... More

Print this item

Shocked async was never was never awaited but the await is still in the code
Posted by: Nietzsche - Jun-03-2024, 05:00 PM - Forum: General Coding Help - Replies (3)

Hello, in this script i get an freezing window after i activate the checkbox IR raw:

[python]import pyqtgraph as pg
from PyQt6.QtWidgets import QM..... More

Print this item

  3-d surface plotting
Posted by: Tuxedo - Jun-03-2024, 04:59 PM - Forum: General Coding Help - Replies (11)

Looking for a Python package for publication quality 3d surface plots. The surfaces I deal with have just a single peak but can have odd shapes near ..... More

Print this item

  Please Help With Syntax - New To Python 3
Posted by: jgbarber65 - Jun-03-2024, 03:07 PM - Forum: General Coding Help - Replies (4)

I am new to Python 3, old to BASIC and VB. I have a text list of URLs and I want to increment through the list and simply save the HTML of each URL a..... More

Print this item

  Troubleshooting Jupyter Notebook installation with Python using pip and a venv
Posted by: Drone4four - Jun-03-2024, 01:00 AM - Forum: General Coding Help - Replies (1)

I’m struggling to set up and manage my Jupyter Notebook development environments.

..... More

Print this item

  Extracting the correct data from a CSV file
Posted by: S2G - Jun-02-2024, 08:07 PM - Forum: General Coding Help - Replies (6)

Writing a code where I can extract data from this file.

.csv   satellites.csv (Size: 8.59 KB / Downloads: 266)
Someone able to help to write a code that can, for example:

"Print a..... More

Print this item

Bug Debugging live plotting data
Posted by: Nietzsche - Jun-02-2024, 03:59 PM - Forum: General Coding Help - Replies (1)

Hello,

i have an phyton script for live plotting data. First i send 2 arrays via 100 numbers via ble to my PC (esp32 C++). Then i handle the data in ..... More

Print this item

Bug Copying methods to effect the new owner instead of the old instance
Posted by: Daniel285 - Jun-02-2024, 02:02 PM - Forum: General Coding Help - Replies (2)

Here is my code, with a small debug loop...

[python]
class foo:
def __init__(self, message="hello Damien", rotation=0):
self.message..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IP address for users 1 hour ago Robots DeaD_EyE Networking
  Check if running from she... 1 hour ago rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Today, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q Yesterday, 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...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
Most views
  The best Prog... 580462
  Tutorial Requ... 519896
  Web Scraping ... 442795
  Newbie with P... 387005
  New Users Int... 386721
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
CarlApome Today
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday

User Panel Messages

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