functions

Girish girish.cfc at gmail.com
Fri Nov 28 00:43:36 EST 2008


Hello,

Is ter any way to identify the file name and the path in which the
function is called.

for example: if the function definition is in the file c:\script1.py
and if I call this function in a script: c:\script2.py than in the
function definition part(script1.py) some how I need to know that its
called in c:\script2.py.

Thanks,
Giri



More information about the Python-list mailing list