Validating positional arguments in optparse
Filip GruszczyĆski
gruszczy at gmail.com
Fri Oct 23 06:08:10 EDT 2009
optparse module is quite smart, when it comes to validating options,
like assuring, that certain option must be an integer. However, I
can't find any information about validating, that positional arguments
were provided and I can't find methods, that would allow defining
positional argument in OptionParser. Is it possible to do this, or was
it intentionaly left this way?
--
Filip GruszczyĆski
More information about the Python-list
mailing list