On 18 Oct 2006 21:01:36 -0700
"George Sakkis" <[EMAIL PROTECTED]> wrote:

> from inspect import getframeinfo,currentframe
> 
> class test(object):
>     def a_method(self,this,that):
>         print getframeinfo(currentframe())[2]

Thanx for the reply! This about the most useful one I've gotten so far!!

-- 
Mitko Haralanov                                  [EMAIL PROTECTED]
Senior Software Engineer                             650.934.8064
System Interconnect Group                   http://www.qlogic.com

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to