How to generate error when argument are not supplied and there is no explicit defults (in optparse)?

Miki Tebeka miki.tebeka at gmail.com
Sat Oct 15 01:20:53 EDT 2011


Don't specify it as an option, but as an argument.
If you're on a new version of python, you should probably use argparse.



More information about the Python-list mailing list