Revision created by MOE tool push_codebase.
[gae.git] / python / lib / argparse / README.txt
bloba16fb1034bd19b93b1df3f952003c16800039aa0
1 The argparse module makes it easy to write user friendly command line
2 interfaces.
4 The program defines what arguments it requires, and argparse will figure out
5 how to parse those out of sys.argv. The argparse module also automatically
6 generates help and usage messages and issues errors when users give the
7 program invalid arguments.
9 As of Python >= 2.7 and >= 3.2, the argparse module is maintained within the
10 Python standard library. For users who still need to support Python < 2.7 or
11 < 3.2, it is also provided as a separate package, which tries to stay
12 compatible with the module in the standard library, but also supports older
13 Python versions.
15 argparse is licensed under the Python license, for details see LICENSE.txt.
18 Compatibility
19 -------------
21 argparse should work on Python >= 2.3, it was tested on:
23 * 2.3.5, 2.4.4, 2.5.5, 2.6.5 and 2.7
24 * 3.1, 3.2
27 Installation
28 ------------
30 Try one of these:
32     python setup.py install
34     easy_install argparse
36     pip install argparse
38     putting argparse.py in some directory listed in sys.path should also work
41 Bugs
42 ----
44 If you find a bug, please try to reproduce it with python 2.7.
46 If it happens there also, please file a bug in the python.org issue tracker.
47 If it does not happen in 2.7, file a bug in the argparse package issue tracker.