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/
- Sources inherited from project openSUSE:11.4
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Evergreen:11.4/python-argparse && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
argparse-1.1.pdf | 0000244691 239 KB | |
argparse-1.1.tar.bz2 | 0000097988 95.7 KB | |
python-argparse.changes | 0000000761 761 Bytes | |
python-argparse.spec | 0000002939 2.87 KB |
Revision 1 (latest revision is 4)
Copy from devel:languages:python/python-argparse based on submit request 47386 from user aledr
Comments 0