Validating positional arguments in optparse
Filip GruszczyĆski
gruszczy at gmail.com
Fri Oct 23 06:54:38 EDT 2009
> That being said, I still stick with optparse. I prefer the dogmatic
> interface that makes all my exe use the exact same (POSIX) convention. I
> really don't care about writing /file instead of --file
I would like to keep POSIX convention too, but just wanted
OptionParser to do the dirty work of checking that arguments are all
right for me and wanted to know the reason, it doesn't.
I guess I should write a subclass, which would do just that.
--
Filip GruszczyĆski
More information about the Python-list
mailing list