## October 09, 2008

### Some people are going to hate me for this

But you can get the current function's name by using:

sys._getframe().f_code.co_name

Seems to work alright for debugging purposes. See the link embedded in the title for the origins and 3 other methods.

Cheers,

Steve