getopt: Make argument mandatory

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Wed Dec 15 15:12:03 EST 2004


In <mailman.7774.1103118706.5135.python-list at python.org>, Frans Englich
wrote:

> 
> Hello,
> 
> In my use of getopt.getopt, I would like to make a certain parameter 
> mandatory.

Isn't a *mandatory option* a contradiction?  Why don't you turn it into an
argument?  You already called it argument in the subject of your post.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list