Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6cc7a41c
Commit
6cc7a41c
authored
May 06, 2012
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe.
parent
b4c8902a
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
777 additions
and
0 deletions
+777
-0
Doc/howto/argparse.rst
Doc/howto/argparse.rst
+764
-0
Doc/howto/index.rst
Doc/howto/index.rst
+1
-0
Doc/library/argparse.rst
Doc/library/argparse.rst
+6
-0
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+5
-0
No files found.
Doc/howto/argparse.rst
0 → 100644
View file @
6cc7a41c
This diff is collapsed.
Click to expand it.
Doc/howto/index.rst
View file @
6cc7a41c
...
...
@@ -27,4 +27,5 @@ Currently, the HOWTOs are:
unicode.rst
urllib2.rst
webservers.rst
argparse.rst
Doc/library/argparse.rst
View file @
6cc7a41c
...
...
@@ -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`
...
...
Misc/ACKS
View file @
6cc7a41c
...
...
@@ -550,6 +550,7 @@ Joerg Lehmann
Robert Lehmann
Petri Lehtinen
Luke Kenneth Casson Leighton
Tshepang Lekhonkhobe
Marc-Andre Lemburg
John Lenton
Christopher Tur Lesniewski-Laas
...
...
Misc/NEWS
View file @
6cc7a41c
...
...
@@ -220,6 +220,11 @@ Documentation
- Issue #8799: Fix and improve the threading.Condition documentation.
Documentation
-------------
- Issue #14034: added the argparse tutorial.
What's New in Python 3.2.3 release candidate 2?
===============================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment