getting name of the function you're in

Bob Purvy bpurvy at packeteer.com
Wed May 15 13:08:15 EDT 2002


does anyone know how to do this?  I asked our resident Python guru and 
he didn't know.  Also searched the docs reasonably thoroughly.

it's for logging debug info to a custom log file.

(I should mention that currently I'm on 2.0.  Will move to 2.2 shortly, 
so a 2.2-only answer is still useful.)




More information about the Python-list mailing list