How to iterate over the supplied options?

Thorsten Kampe <[email protected]> Thu, 9 Sep 2004 08:35:00 +0200
Newsgroups gmane.comp.python.optik.user
Message-ID <[email protected]>
Is there a way to iterate in a loop over all supplied options (or all
defined) options?

options, args = OptionParser.OptionParser.parse_args()
shows a dictionary in "options" but I'm unable to iterate over it
because it's wrapped in an "instance object".

Thorsten



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click