next up previous contents index
Next: Code Modularity Up: Writing Python Scripts Previous: Logging   Contents   Index

Command-Line Argument Parsing

For convenience, the OptionParse module is generally used to handle command-line argument parsing. If another parser is used, it is asked that the input argument format conform to the standards of OptionParser. Generally this means using a ``-'' in front of single letter options such as ``-v'' and using ``-'' in front of longer options names such as ``-verbose'' or ``-limit=15.4''



2013-06-11