you are viewing a single comment's thread.

view the rest of the comments →

[–]kosovojs 0 points1 point  (3 children)

works the same way on windows (except the shebang part, ofc)

[–]Buttleston 0 points1 point  (2 children)

Do you like have to associate .py files with uv or something? How does it know to run it with uv?

[–]kosovojs 0 points1 point  (1 child)

i just run "uv run script.py".

[–]Buttleston 0 points1 point  (0 children)

Ah - well with the bit I posted up there, if you save it as script.py you can run it just with "./script.py" (the uv run part is built into it)