> class XXX: > ... > method YYY(self, ...): > ... > print self.__class__.__name__ Is there a similar solution to get the name of the function or method you are currently "in"? Regards Andreas