summaryrefslogtreecommitdiff
path: root/README.md
blob: 25ad1de80a334778af4763faa4df5e0b26cd2b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
sh (previously [pbs](http://pypi.python.org/pypi/pbs)) is a full-fledged
subprocess interface for Python 2.6 - 3.2
that allows you to call any program as if it were a function:

```python
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