Interleaved commands and options with optparse?

Magnus Lie Hetland mlh at furu.idi.ntnu.no
Wed Jan 22 22:49:10 EST 2003


In article <slrnb2upbe.d9h.mlh at furu.idi.ntnu.no>, Magnus Lie Hetland wrote:
[snip]
>Indeed. Quite useful. This really ought to be in the docs.

And while I'm at it -- it ought to be an argument to the constructor,
just like, for example, parser.usage (and most of the other
attributes, it seems).

Anyone think that submitting a patch for this would be a bad idea?

-- 
Magnus Lie Hetland
http://hetland.org




More information about the Python-list mailing list