getting name of the function you're in
Mark McEahern
marklists at mceahern.com
Wed May 15 13:49:49 EDT 2002
[Bob Purvy]
> Subject: getting name of the function you're in
>
> does anyone know how to do this?
This is a frequently asked question:
http://groups.google.com/groups?hl=en&q=current+function+name+python
In addition, you'll be delighted to know that this simple google query:
http://www.google.com/search?hl=en&q=current+function+name+python
returns this simple recipe, which seems to answer your question:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66062
Cheers,
// mark
More information about the Python-list
mailing list