Detect Linux Runlevel

Michael Torrie torriem at gmail.com
Tue Dec 6 11:35:40 EST 2016


On 12/06/2016 06:51 AM, Tim Chase wrote:
> Based on the OP's description, this is a small part of a much larger
> program.  And I would personally rather maintain a large Python
> code-base than a large Bash code-base.

Absolutely.  Especially when you consider inxi is 12,000 lines of bash
code in one file. Shudder.  Though I'm sure bash made it very easy to
interact with dozens or even hundreds of different external programs on
dozens of operating systems and distributions to gather information.




More information about the Python-list mailing list