Re: inspect the call stack

2010-09-10 Thread Bruno Desthuilliers
ow can i inspect the call stack or an other way ? http://www.google.fr/search?q=python+inspect+the+call+stack First answer should point you to the relevant part of the FineManual(tm): http://docs.python.org/library/inspect.html And while we're at it, what about not opening a new threa

inspect the call stack

2010-09-10 Thread bussiere bussiere
i v'e got this : i've got toto.py : import titi def niwhom(): pass and titi.py : def nipang(): pass how can i know in titi.py that's it's toto.py that is calling titi.py and the path of toto ? how can i inspect the call s