|
|
|
|
|
by alkh
165 days ago
|
|
Have to post this monstrocity that let's you either run a python script with uv or with python directly if uv is not installed(for some of my collegues) #!/usr/bin/env bash """:" if command -v uv > /dev/null then exec uv run --script "$0" "$@" else exec python3 "$0" "$@" fi ":""" |
|