How can I get the function's caller?
sjmachin at lexicon.net
Thu Sep 14 14:04:36 CEST 2006
> Il 13 Sep 2006 00:31:47 -0700, John Machin ha scritto:
> > 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).
> I'll check thankyou!
> Traffic in this NG is so high that is difficult to stay uptodate.
You don't need to. Google is your friend. Google "caller name" in this
NG; it's that simple :-)
More information about the Python-list