getopt, i don't get it
Josef Meile
jmeile at hotmail.com
Wed Oct 29 15:53:33 EST 2003
More information about the Python-list mailing list
Wed Oct 29 15:53:33 EST 2003
- Previous message (by thread): getopt, i don't get it
- Next message (by thread): order of object desctruction
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> If you haven't used getopt before, don't start now. Check out optparse > instead. Thanks for the tip, I have already wrote something with getopt, but I found that the "add_option" of the optparse is cleaner and easier to read than the list of options that you use with getopt. Other thing I liked is that you don't have to write a method to print the help, you just pass a descriptive text to the parser and it will do the rest. Really nice :-). I will try it. Regards, Josef
- Previous message (by thread): getopt, i don't get it
- Next message (by thread): order of object desctruction
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list