推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
Livid
408.15D
536.98D
V2EX  ›  Python

sh

  •  
  •   Livid ·
    PRO
    · Nov 26, 2013 · 5158 views
    This topic created in 4751 days ago, the information mentioned may be changed or developed.
    将任意 cli 程序变成类似 Python 函数的使用方式:

    http://amoffat.github.io/sh/
    10 replies  •  1970-01-01 08:00:00 +08:00
    senghoo
    senghoo
    Nov 26, 2013
    1
    直接system不好么。。
    要是做了stdout的解析还有用点。。
    Choutreeman
    Choutreeman
    Nov 26, 2013
    2
    命令一多这个东西就很有用哇
    L42y
    L42y
    Nov 26, 2013❤️1
    3
    似乎和这个重复了 http://www.v2ex.com/t/47892
    hit9
    hit9
    Nov 26, 2013
    5
    但是我会很少用这个库。虽然它看起来很漂亮、、一般还是subprocess.call
    zhttty
    zhttty
    Nov 26, 2013 via Android
    6
    @L42y 快把三楼删了…
    efi
    efi
    Nov 26, 2013
    7
    似乎和这个重复了 http://www.v2ex.com/t/47892
    efi
    efi
    Nov 26, 2013
    8
    似乎和这个重复了: http://www.v2ex.com/t/47892
    ushuz
    ushuz
    Nov 26, 2013
    9
    @efi 似乎和3楼重复了
    est
    est
    Nov 26, 2013
    10
    当年也幻想个从 cli 程序man page自动生成 gui 的东西。最后发现还是 cli 来得快。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1846 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 09:58 · PVG 17:58 · LAX 01:58 · JFK 04:58
    ♥ Do have faith in what you're doing.