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

pocoo 新发布的 click

  •  
  •   polythene ·
    polyrabbit · Apr 24, 2014 · 5176 views
    This topic created in 4418 days ago, the information mentioned may be changed or developed.
    又一款命令行解析器
    http://click.pocoo.org/
    不过用法确实挺有意思的
    10 replies    1970-01-01 08:00:00 +08:00
    cabinw
        1
    cabinw  
       Apr 24, 2014
    pocoo的项目个个赞
    est
        2
    est  
       Apr 24, 2014
    遇到组合参数、互斥参数怎么办?
    timonwong
        3
    timonwong  
       Apr 24, 2014
    @est

    互斥参数,还是有。

    组合参数不知道什么意思,单纯的多值,还是有时序耦合的?如果后者估计要跪

    灵活性当然不如手撸argparse...
    TankyWoo
        4
    TankyWoo  
       Apr 24, 2014
    Pocoo出品,必属精品
    icevil
        5
    icevil  
       Apr 24, 2014 via iPhone
    还有很大改进余地,期待。
    polythene
        6
    polythene  
    OP
       Apr 24, 2014
    @icevil 对,作者也说了:
    `I did not expect this to be on hackernews this early. I want to point out that I have not made a release yet and it's not yet feature complete. Mainly I want to ask for feedback on the general design.`
    gkiwi
        7
    gkiwi  
       Apr 25, 2014
    突然想起大妈这条微博(http://weibo.com/1400936805/ABPeWyQfZ):

    MayLava
        8
    MayLava  
       Apr 25, 2014
    赞,先mark了。
    glasslion
        9
    glasslion  
       Apr 25, 2014
    还是喜欢 docopt
    est
        10
    est  
       Apr 25, 2014
    @timonwong 嗯。我是想 ffmpeg 或者 openssl 命令行那种参数怎么配得出来。。。换我肯定崩溃
    @gkiwi 哈我也想到了。没找到地址。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1040 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 23:12 · PVG 07:12 · LAX 16:12 · JFK 19:12
    ♥ Do have faith in what you're doing.