sh

Package — UtilityPython 3.7+Intermediate

Subprocess replacement: call shell commands as functions

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
None (Unix only, pure Python)
Install
pip install sh

Learn by Difficulty

Quick Example

python
# Install: pip install sh
import sh

# Basic sh usage
print(f"Using sh")
# See documentation for detailed examples

sh is a third-party package. Subprocess replacement: call shell commands as functions. Install with: pip install sh

Try in Playground

Tags

packageutilityhelper