Comment Comment by meander_water Actually you can go one better: #!/usr/bin/env -S uv run --python 3.14 --script Then you don't even need python installed. uv will install the version of python you specified and run the command. parent meander_water 10 months ago