Comment

Comment by athrun

I feel this is where uv's PEP 723 support of inline dependencies in a single-file Python script shines.

Just use something like this as a shebang, and you can have your cake and eat it too!

#!/usr/bin/env -S uv run

previous HN thread: https://news.ycombinator.com/item?id=43097006

parent athrun 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton