python quickie : retrace function steps?

Skip Montanaro skip at pobox.com
Wed Aug 20 12:42:07 EDT 2003


    Matt> Is there away I can print out the path my Program had taken (i
    Matt> want to do this as part of my error checking, so a user would
    Matt> always know the path my program took)?

Take a look at the traceback.print_stack() and .format_stack() functions.

Skip





More information about the Python-list mailing list