mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
#14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe.
This commit is contained in:
764
Doc/howto/argparse.rst
Normal file
764
Doc/howto/argparse.rst
Normal file
File diff suppressed because it is too large
Load Diff
@@ -28,4 +28,5 @@ Currently, the HOWTOs are:
|
||||
unicode.rst
|
||||
urllib2.rst
|
||||
webservers.rst
|
||||
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`
|
||||
|
||||
@@ -500,6 +500,7 @@ Joerg Lehmann
|
||||
Robert Lehmann
|
||||
Petri Lehtinen
|
||||
Luke Kenneth Casson Leighton
|
||||
Tshepang Lekhonkhobe
|
||||
Marc-Andre Lemburg
|
||||
John Lenton
|
||||
Christopher Tur Lesniewski-Laas
|
||||
|
||||
Reference in New Issue
Block a user