r/Python • • Jun 18 '13

Creating python command-line applications

http://pauloortins.com/creating-python-command-line-applications/
0 Upvotes

20 comments sorted by

View all comments

10

u/westurner Jun 18 '13

3

u/abledanger Jun 18 '13

Just found optparse yesterday, even though it's a standard library. It's awesome.

10

u/nemec Jun 18 '13

optparse is deprecated, I'd stick to argparse (which is brilliant, IMO). (for proof, check out the 2.7 docs)

2

u/talideon Jun 18 '13

Or better yet: docopt.