mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
#14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe.
This commit is contained in:
parent
9f9970b15d
commit
e48daea2a6
5 changed files with 777 additions and 0 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue