[Python-Dev] Hotshot

Walter Dörwald walter at livinglogic.de
Mon Jan 26 07:59:36 EST 2004


Skip Montanaro wrote:
>     Walter> What's missing from hotshot is a little script that makes it
>     Walter> possible to use hotshot from the command line (just like
>     Walter> profile.py), i.e. something like this:
> 
>     ...
> 
> Walter,
> 
> 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.

Maybe this script should use optparse instead of getopt?

Bye,
    Walter Dörwald




More information about the Python-Dev mailing list