diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-05-06 13:15:35 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-05-06 13:15:35 (GMT) |
commit | e48daea2a668ac5bfc112faaa6540b9ca56fb70c (patch) | |
tree | fd3c7a0c9116ad373f4dc2570786c65e0783afe4 /Doc/library/argparse.rst | |
parent | 9f9970b15d356bc0adee1dc7bb11bfc63712e7fd (diff) | |
download | cpython-e48daea2a668ac5bfc112faaa6540b9ca56fb70c.zip cpython-e48daea2a668ac5bfc112faaa6540b9ca56fb70c.tar.gz cpython-e48daea2a668ac5bfc112faaa6540b9ca56fb70c.tar.bz2 |
#14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe.
Diffstat (limited to 'Doc/library/argparse.rst')
-rw-r--r-- | Doc/library/argparse.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 50a4533..83e8479 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -12,6 +12,12 @@ -------------- +.. sidebar:: Tutorial + + This page contains the API reference information. For a more gentle + introduction to Python command-line parsing, have a look at the + :ref:`argparse tutorial <argparse-tutorial>`. + The :mod:`argparse` module makes it easy to write user-friendly command-line interfaces. The program defines what arguments it requires, and :mod:`argparse` will figure out how to parse those out of :data:`sys.argv`. The :mod:`argparse` |