diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-05-06 13:34:43 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-05-06 13:34:43 (GMT) |
commit | df5bedbf88504edc78b94d581c4111b0265f9563 (patch) | |
tree | 74a0192140fe6d0c0d25ec2afb8b198441f44c41 /Doc/library/argparse.rst | |
parent | 7e126205e615518bc921132918c0ed7f48b31c85 (diff) | |
parent | 6cc7a41c2fd8849918427005222b1c8306621ebb (diff) | |
download | cpython-df5bedbf88504edc78b94d581c4111b0265f9563.zip cpython-df5bedbf88504edc78b94d581c4111b0265f9563.tar.gz cpython-df5bedbf88504edc78b94d581c4111b0265f9563.tar.bz2 |
#14034: merge argparse tutorial from 3.2.
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 50ccb31..8e7fa5e 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` |