3 ms·
I've played with it for a while now, and for one off scripts where python might make more sense than bash, e.g., I write the script this way with uv, and then I
by bb88 1y ago
I've played with it for a while now, and for one off scripts where python might make more sense than bash, e.g., I write the script this way with uv, and then I only need uv and the script.
One of the complaints about python is that a script stops working over time (because the python installation changes with os updates), and this kinda sorta doesn't make it go away entirely, but what it does do is to eliminate a bunch of the hassle to getting things to work.
- bananapub 1y ago> this kinda sorta doesn't make it go away entirely it absolutely can, `uv` can also pin the python interpreter it uses with `requires-python = "==3.11"` or whatever.
- bb88 1y agoNo, because with golang you can drop the binary in an empty docker container and you're done -- you never have to recompile it or worry about your pypi mirror disappearing. If you're deploying a python script with uv, it needs some kind of internet connection. Jar files are closer maybe...