Re: [Tutor] Finding the caller

2007-07-26 Thread jay
Thanks Kent and Andreas That is exactly what I needed! Very nice indeed... jay On 7/26/07, Kent Johnson <[EMAIL PROTECTED]> wrote: > > jay wrote: > > 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 in

Re: [Tutor] Finding the caller

2007-07-26 Thread Kent Johnson
jay wrote: > 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! http://aspn.act

Re: [Tutor] Finding the caller

2007-07-26 Thread Andreas Kostyrka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sys._getframe. Andreas jay wrote: > 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 impor

[Tutor] Finding the caller

2007-07-26 Thread jay
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 ___