Visco Shaun <visc...@gmail.com> wrote: > Hi > > Is there a way to know the name of the script(say A), which is importing > a module(say B), from B? > ie in above situation i should be able to get name 'A' through some way > in B, when A contains an 'import B' statement.
Suppose module C imports module B as well? So, no, not in any useful way. -- R. David Murray http://www.bitdance.com -- http://mail.python.org/mailman/listinfo/python-list