3 ms·
> There is also the cultural difference. In Python, it's so easy use pip and modules, but if you want something to replace Bash, you need to resist the temptati
by vageli 8y ago
> There is also the cultural difference. In Python, it's so easy use pip and modules, but if you want something to replace Bash, you need to resist the temptation and only use what's in the standard library.
I don't think it's fair to say that bash programs are not without dependencies, just that the developers (tended to be?) are more thoughtful about portability. For example I've seen scripts that use wget or fall back to curl when it's not available. I've never seen a python script fall back to urllib3 when requests wasn't available on the system.
- jacobush 8y agoWell, culture. Python could be programmed to fallback to urllib3. Bash could have a package manager and virtual environments. Hm... I wonder if that is a good idea or a horrible one... :)