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

python 除了 sys.argv 和 getopt 还有没有什么好用的 从命令行提取参数的库?

  •  
  •   whx20202 · Dec 19, 2016 · 3533 views
    This topic created in 3607 days ago, the information mentioned may be changed or developed.
    7 replies  •  2016-12-27 09:58:04 +08:00
    mulog
    mulog
    Dec 19, 2016
    1
    jackyspy
    jackyspy
    Dec 19, 2016
    2
    argparse
    docopt
    keysona
    keysona
    Dec 19, 2016
    3
    同推 click 。

    非常 awesome 的一个库。
    whx20202
    whx20202
    OP
    Dec 19, 2016
    4
    感谢以上三位 一会去试试
    @keysona
    @jackyspy
    @mulog
    ansheng
    ansheng
    Dec 19, 2016
    5
    同求,楼主能否整理一份文档。
    0x4b0082
    0x4b0082
    Dec 27, 2016
    6
    个人认为这个需求还是原生的写好,为了这一点点去引入一个库,感觉不值得
    whx20202
    whx20202
    OP
    Dec 27, 2016
    7
    @ansheng click 有英文文档 相比其他库的英文文档非常简单
    而且也有好多人写了中文教程
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3820 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 05:28 · PVG 13:28 · LAX 21:28 · JFK 00:28
    ♥ Do have faith in what you're doing.