[EMAIL PROTECTED] wrote:
> * Kent Johnson <[EMAIL PROTECTED]> [051214 16:00]:
>>You can look at the stack frame to find out what method you are in. See for 
>>example
>>http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66062
> 
>  
>   Thanks! This is really nice!
> 
> Must tie a string around my finger with "sys._getframe" on it.
> I'm sure it has many other goodies.

Search the cookbook and comp.lang.python for _getframe to find more.

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to