3 ms·
Keep in mind that there's a bug if you put `uv run` as your script's shebang line, as uv will recursively call itself if your script's name doesn't end in .py.
by stavros 2y ago
Keep in mind that there's a bug if you put `uv run` as your script's shebang line, as uv will recursively call itself if your script's name doesn't end in .py.
Other than that, though, automatically managing a single script's dependencies and running it in a venv with just ./script.py is magical.