Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nextaccountic
· 1y ago · 0 comments
Why does it has to end with .py?
Comments
[–]
karl42
1y ago
It doesn't have to. But if it does not end in .py, you have to add the --script (or -s for short) flag to tell it to interpret the file as a python script.
[–]
stavros
1y ago
Oh, they added that? Very nice, I'll update my instructions and scripts, thanks!
[–]
stavros
1y ago
Otherwise uv doesn't recognize it and goes into an infinite loop.