推荐学习书目
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
279.77D
568.22D
V2EX  ›  Python

sh

  •  
  •   Livid ·
    PRO
    · Nov 26, 2013 · 4667 views
    This topic created in 4562 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
        1
    senghoo  
       Nov 26, 2013
    直接system不好么。。
    要是做了stdout的解析还有用点。。
    0racleTink
        2
    0racleTink  
       Nov 26, 2013
    命令一多这个东西就很有用哇
    L42y
        3
    L42y  
       Nov 26, 2013   ❤️ 1
    似乎和这个重复了 http://www.sunp.eu.org/t/47892
    hit9
        5
    hit9  
       Nov 26, 2013
    但是我会很少用这个库。虽然它看起来很漂亮、、一般还是subprocess.call
    zhttty
        6
    zhttty  
       Nov 26, 2013 via Android
    @L42y 快把三楼删了…
    efi
        7
    efi  
       Nov 26, 2013
    似乎和这个重复了 http://www.sunp.eu.org/t/47892
    efi
        8
    efi  
       Nov 26, 2013
    似乎和这个重复了: http://www.sunp.eu.org/t/47892
    ushuz
        9
    ushuz  
       Nov 26, 2013
    @efi 似乎和3楼重复了
    est
        10
    est  
       Nov 26, 2013
    当年也幻想个从 cli 程序man page自动生成 gui 的东西。最后发现还是 cli 来得快。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2675 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 10:57 · PVG 18:57 · LAX 03:57 · JFK 06:57
    ♥ Do have faith in what you're doing.