Skip to content
Sections
>> Trisquel >> Pakete >> etiona >> python >> python-sh
etiona  ]
[ Quellcode: python-sh  ]

Paket: 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.

Andere Pakete mit Bezug zu python-sh

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: python
    interactive high-level object-oriented language (default version)

python-sh herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 22,2 kB118 kB [Liste der Dateien]