How can I get the function's caller?

John Machin sjmachin at lexicon.net
Wed Sep 13 09:31:47 CEST 2006


David wrote:
> Inside a function I need to get the function's caller's name. How can I get
> it?
>

Check out the thread "__LINE__ and __FILE__ functionality in Python?"
(messages posted 2006-0813).




More information about the Python-list mailing list