python-sh

Python subprocess interface

Description

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.

This package provides Python 2 module bindings only.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/amoffat/sh/


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python-sh