Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 403 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 403 Bytes

sh (previously pbs) is a full-fledged subprocess replacement for Python 2.6 - 3.2 that allows you to call any program as if it were a function:

from sh import ifconfig
print ifconfig("eth0")

sh is not a collection of system commands implemented in Python.

Installation

$> pip install sh

Complete documentation @ http://amoffat.github.com/sh