python:optparse
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
python:optparse [2010/03/15 12:11] – tkbletsc | python:optparse [2011/03/03 11:31] – tkbletsc | ||
---|---|---|---|
Line 8: | Line 8: | ||
} | } | ||
parser = OptionParser(" | parser = OptionParser(" | ||
+ | |||
+ | # uncomment if you need to ignore options after the first argument, e.g. " | ||
+ | # parser.disable_interspersed_args() | ||
parser.add_option(" | parser.add_option(" |
python/optparse.txt · Last modified: 2011/06/05 17:40 by tkbletsc