this post was submitted on 29 Oct 2025
75 points (98.7% liked)

Python

7688 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] beeng@discuss.tchncs.de 22 points 2 months ago* (last edited 2 months ago) (1 children)

Using the UV hashbang and a few doc strings for dependencies so you can run full on python scripts as executables is fucking crack.

[–] synae@lemmy.sdf.org 6 points 2 months ago (1 children)

I have an idea of what this might look like, but do you have any examples I can crib from?

[–] rainwall@piefed.social 6 points 2 months ago (2 children)
[–] CannonFodder@lemmy.world 5 points 2 months ago (1 children)

Cool. But for God's sake don't run python code from the internet, that's such a huge security risk,

[–] rainwall@piefed.social 1 points 2 months ago

Dont worry, I just vibe run it.

[–] synae@lemmy.sdf.org 2 points 2 months ago

Thank you, this goes to the top of my reading pile for tomorrow! We've been doing a lot of uv conversions at work and I have a specific personal use for this as well