Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> python >> python-sh
etiona  ]
[ 原始碼: python-sh  ]

套件: 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.

其他與 python-sh 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python
    interactive high-level object-oriented language (default version)

下載 python-sh

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 22.2 kB118 kB [文件列表]