Skip to content
Sections
>> Trisquel >> Pakketten >> etiona >> python >> python-sh
etiona  ]
[ Bron: python-sh  ]

Pakket: 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 aan python-sh gerelateerde pakketten

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

python-sh downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 22,2 kB118 kB [overzicht]