optparse

Torsten Mohr tmohr at s.netic.de
Tue Sep 16 15:45:26 EDT 2008


Hi,

> If i call it without any parameters i get:
> 
> opts {'verb': 'store_false'}
> args []

If i call it with parameter -v i get:

./script.py -v

opts {'verb': True}
args []


I wonder what's wrong here.


Best regards,
Torsten.




More information about the Python-list mailing list