2 ms·
I don't do much python anymore but recently, I decided to try moving from Makefile files to simple command-line python scripts for this type of thing. The pyth
by fnordlord 4y ago
I don't do much python anymore but recently, I decided to try moving from Makefile files to simple command-line python scripts for this type of thing. The python standard library has pretty much everything you need to replace `make` so there's no need for virtual environments and...
1. They're way more readable and intuitive
2. Cross-platform across Linux, Windows, MacOS, even if you have to branch off to platform-specific commands inside the script
3. I'd much rather maintain commands using the python standard library over complex command-line things with `sed`, `awk`, etc