one obvious parser (was "Feedback on my python framework I'm building.")
Tim Chase
python.list at tim.thechases.com
Sat Oct 13 22:53:23 EDT 2012
On 10/13/12 21:25, Steven D'Aprano wrote:
> Not being Dutch, I don't know whether the obvious way to do command line
> argument handling is the getopt module or argparse. But there certainly
> isn't *only one way* to do command line argument handling.
As an aside, I just watched a fascinating video[1] on docopt[2]
which seems like an amazingly simple way to build command-line UIs.
I haven't toyed with it yet, but I just wanted to share my "wow,
that's slick" experience with the list.
-tkc
[1]
http://www.youtube.com/watch?v=pXhcPJK5cMc
[2]
http://docopt.org/
More information about the Python-list
mailing list