3 ms·
You don’t need a virtual env. I probably wouldn’t wrap GNU find and python, I’d just walk the directory tree in python and use regex. IO is suitable for every
by Bnshsysjab 7y ago
You don’t need a virtual env.
I probably wouldn’t wrap GNU find and python, I’d just walk the directory tree in python and use regex.
IO is suitable for everyday tasks and shouldn’t be an issue in Python anyway, if it is either you’re doing it wrong or your shell script should be written in C and not touch interpreted/bytecode compiled languages at all.
- tjoff 7y agoMe neither, but a big point of shell scripts is that they are the same commands you'd run on the shell itself. And there are lots of really optimized tools that are as quick as can be, throwing them out is a hefty price to pay.