#14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe.

This commit is contained in:
Ezio Melotti
2012-05-06 16:15:35 +03:00
parent 9f9970b15d
commit e48daea2a6
5 changed files with 777 additions and 0 deletions

764
Doc/howto/argparse.rst Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -28,4 +28,5 @@ Currently, the HOWTOs are:
unicode.rst
urllib2.rst
webservers.rst
argparse.rst

View File

@@ -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`

View File

@@ -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

View File

@@ -148,6 +148,11 @@ Build
- Issue #14437: Fix building the _io module under Cygwin.
Documentation
-------------
- Issue #14034: added the argparse tutorial.
What's New in Python 2.7.3 release candidate 2?
===============================================