shEasy Playground

Subprocess replacement: call shell commands as functions

Getting started with shRun locally
Install
pip install sh
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: sh)

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

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?