Perceived optparse shortcomings

Hans-Joachim Widmaier hjwidmaier at web.de
Thu Mar 18 14:53:47 EST 2004


Am Wed, 17 Mar 2004 09:36:24 -0600 schrieb Skip Montanaro:

> The main program plucks <subcmd> from that list and then passes the
> remaining args to the appropriate subcommand, which calls getopt again with
> the list equivalent of
> 
>     <subcmd options> <args>
> 
> I don't know if that's possible with optparse, but if so, that's the route
> I'd try first.

After some small changes to optparse, it is. It's the route I went, and
I'm satisfied with the result.

Hans-J.



More information about the Python-list mailing list