Skip to content
Sections
>> Trisquel >> Packages >> etiona >> python >> python-sh
etiona  ]
[ Source: python-sh  ]

Package: python-sh (1.11-1)

Python subprocess interface

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.

Other Packages Related to python-sh

  • depends
  • recommends
  • suggests
  • dep: python
    interactive high-level object-oriented language (default version)

Download python-sh

Download for all available architectures
Architecture Package Size Installed Size Files
all 22.2 kB118 kB [list of files]