[BangPypers] Is there a way to find the import originator?

Nitin Kumar nitin.nitp at gmail.com
Tue Jul 15 11:55:48 CEST 2014

Hi All,

Say there are 3 files.

a.py and b.py uses *import c* (which is the third python file c.py)

is there a way we can know inside c.py that whether its a or b who is doing
the importing?

Nitin K

More information about the BangPypers mailing list