by NoboruWataya · 2y ago · 0 comments
As long as they have the right version of Python and all of your program's dependencies installed, which they most likely won't.
> They can use this script on any operating system and can open it with at text editor to view it's inner workings.
Someone who doesn't know how to program most likely isn't going to be using multiple operating systems and isn't going to want to open the script in a text editor to view its inner workings.
I agree with the parent comment that distributing binaries is way more seamless when your users are not very technical.
The venv created for this is ephemereal (it can not be if you want), so you don't need to keep in mind cleaning up stuff and so. Also uv is really fast in creating the venv and installing whatever is needed. Coming from using plain pip and venvs (and having pain setting up different python version interpreters for projects), and poetry just after that, I am pretty happy with the improvements.
The equivalent things in Go, Rust, etc are a breath of fresh air for sure