Skip to content

xakon/sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python subprocess interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%