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

2014-07-15 Thread Nitin Kumar
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 ___ BangPypers mailing list BangPypers@python.org htt

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

2014-07-15 Thread Gora Mohanty
On 15 July 2014 15:25, Nitin Kumar wrote: > 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? You can use the inspect module to get this inform

Re: [BangPypers] [JOBS] Django / AngularJS developers (Shuhaib Shariff)

2014-07-15 Thread avinash sajjanshetty
the 'Jobs' link in your footer doesn't work. ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers