3 ms·
To be honest, Python made it stupendously simpler than anything else because it has a great standard library. The only dependency (click) is rock solid and made
by rcarmo 2y ago
To be honest, Python made it stupendously simpler than anything else because it has a great standard library. The only dependency (click) is rock solid and made it a lot simpler to handle commands independently, but we could probably do without it and just use the built-in argparse—-but at the expense of a few more lines of code I didn’t want to maintain.
Also, Python is everywhere, on every OS and Linux system, so it was a natural choice. I also wanted it to be easily hackable and extensible, and few languages would make it simpler to understand or extend.
- mlhpdx 2y agoThat’s pretty funny. You may want to look a little further field to discover that the machines with Python are far from “all the machines” out there. Particularly production servers, which, if they run responsibly, are hardened with every extraneous bit of software removed.
- jteppinette 2y agoI developed security software in Python that ran on 100k+ production nodes covering dozens of operating systems. They all had Python.
- hamandcheese 2y agoCounter-anecdote: none of my Linux PCs have python.
- jteppinette 2y agoCounter-counter-anecdote: my toaster has python.
- hamandcheese 2y agoI am sorry for your toaster.
- BbzzbB 2y agoDebian comes prepackaged with Python. If there are distros that are good enough for a server almost out of the box, surely Debian stable is one.
- skeledrew 2y agoNot sure who's to "blame", but I was super surprised a few days ago when I installed Kubuntu 24.04 (minimal), and Python was missing. Was fine though as I strictly use via pipx and miniconda only, but still surprising.
- zie 2y agoI used to run Python 2 on OpenVMS in production. Python can have a pretty wide footprint if one looks around.