Andrew :
If your running version 2,7 or later you can.
>>> import argparse
>>> dir(argparse)
['Action', 'ArgumentDefaultsHelpFormatter', 'ArgumentError',
'ArgumentParser', '
ArgumentTypeError', 'FileType', 'HelpFormatter', 'Namespace', 'ONE_OR_MORE',
'OP
TIONAL', 'PARSER', 'REMAINDER', 'RawDescriptionHelpFormatter',
'RawTextHelpForma
tter', 'SUPPRESS', 'ZERO_OR_MORE', '_', '_ActionsContainer',
'_AppendAction', '_
AppendConstAction', '_ArgumentGroup', '_AttributeHolder', '_CountAction',
'_Help
Action', '_MutuallyExclusiveGroup', '_StoreAction', '_StoreConstAction',
'_Store
FalseAction', '_StoreTrueAction', '_SubParsersAction',
'_UNRECOGNIZED_ARGS_ATTR'
, '_VersionAction', '__all__', '__builtins__', '__cached__', '__doc__',
'__file_
_', '__name__', '__package__', '__version__', '_callable', '_copy',
'_ensure_val
ue', '_get_action_name', '_os', '_re', '_sys', '_textwrap', 'ngettext']
>>> help(argparse)
prints out the help library.

There are standard documentation and examples for argparse in the python
standard Libaray
here http://docs.python.org/dev/library/argparse.html

Learning the standard library is essential to well rounded Python knowledge.
Good luck with your Python scripts!
,RJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20110329/3f839470/attachment.html>