[Python-Dev] Hotshot

Walter Dörwald walter at livinglogic.de
Mon Jan 26 10:19:28 EST 2004

Skip Montanaro wrote:

>     >> Any objection if I check in the attached modification of your script
>     >> as .../Tools/scripts/hotshotmain.py?  It doesn't seem to work with
>     >> the -p flag.  Unfortunately, I have to take my son to hockey
>     >> practice, so I can't debug that problem right now.
>     Walter> Maybe this script should use optparse instead of getopt?
> How would optparse be better than getopt, especially for simple use such as
> this?

I'd say, that all new stuff should use optparse.

    Walter Dörwald

More information about the Python-Dev mailing list