Skip to content
Python subprocess interface http://amoffat.github.com/sh
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
AUTHORS.md
LICENSE.txt
MANIFEST.in
README.md
setup.py
sh.py
test.py

README.md

sh (previously 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:

from pbs 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

Something went wrong with that request. Please try again.