[Tutor] Finding the caller
jay
titleistfour at gmail.com
Thu Jul 26 16:27:22 CEST 2007
Hello all,
If I import a module, which has a bunch of simple functions in it, is there
an easy way to find the direct caller from inside one of those functions?
I'm looking to know which script has imported and thus called the library
function. Thanks!
jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070726/e14b6a2f/attachment.html
More information about the Tutor
mailing list