argparse 1.0.1
Python command-line parsing library
The argparse module provides an easy, declarative interface for creating command line tools, which knows how to:
- parse the arguments and flags from sys.argv
- convert arg strings into objects for your program
- format and print informative help messages
- and much more...
The argparse module improves on the standard library optparse module in a number of ways including:
- handling positional arguments
- supporting sub-commands
- allowing alternative option prefixes like + and /
- handling zero-or-more and one-or-more style arguments
- producing more informative usage messages
- providing a much simpler interface for custom types and actions
The latest version of argparse, along with API documentation and examples can be found at:
http://code.google.com/p/argparse/
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| argparse-1.0.1.win32.msi (md5) | MS Windows MSI installer | any | 2009-09-15 08:09:44.491334 | 160KB | 45 |
| argparse-1.0.1.zip (md5) | Source | 2009-09-15 15:42:26.709979 | 144KB | 979 | |
- Author: Steven Bethard <steven bethard at gmail com>
- Home Page: http://code.google.com/p/argparse/
- License: Apache 2.0
- Categories
- Package Index Owner: bediviere
- DOAP record: argparse-1.0.1.xml
Log in to rate this package.
Package rating (1 vote):
4.0
- 4 points: 1 vote
Ratings range from 0 to 5 (best).
