3 ms·
For the record, "python-without-extra-dependencies" is a thing and a very nice one too. I always prefer it over awk. Highly recommend to everyone - plenty of "
by theamk 1y ago
For the record, "python-without-extra-dependencies" is a thing and a very nice one too. I always prefer it over awk.
Highly recommend to everyone - plenty of "batteries" included, like json parser, basic http client and even XML parser, and no venv/conda required. Very good forward compatibility. Fast (compared to bash).
- wintergrasp 1y agoCan you explain more or provide more information/links?
- stephenlf 1y agoThe Python Standard Library https://docs.python.org/3/library/index.html https://docs.python.org/3/library/index.html
- HappMacDonald 1y agoThat does sound compelling, but I frequently enough have to work on embedded systems (often running busybox) where python isn't installed and available R/W storage space is measured in tens or hundreds of Kb. I find that that is one more environment where awk scripting can get the job done, python/perl/php/etc just can't be introduced, bash can _sometimes_ get the job done if it doesn't have to spawn too many subprocesses, and C/other-compiled-options _might_ be able to help if I had some kind of build environment targeting the platform(s) in question and enough patience. I'll keep an eye out for python with no extra dependency options on the platforms that can handle that though.
- theamk 1y agoLua is pretty popular in the embedded devices I've been working on.. of course it's stdlib is tiny compared to python's though.