sh is a full-fledged subprocess replacement for Python that allows you to call any program as if it were a function.