FAQ: Technical Questions & Answers

Why use the python sh module instead of standard libraries?

Faster security updates.

The sh module adds the entire command line suite to the python API. Command line programs are much more tested and trusted than language libraries.

If there is a security bug in a standard program, it is found faster and fixed urgently.

For example, python did not verify ssl certs properly for years. The ssh program worked.