[Baypiggies] Can you get the filename which is being execfile()'d from within the file being execfiled?
William Deegan
bdbaddog at gmail.com
Thu Dec 13 01:10:24 CET 2007
Greetings,
If I execfile('abc.py')
And abc.py calls function tellme().
Is there a global or a way to pass to tellme() the filename being
execfile()'d?
Let me know if this is not clear.
Thanks,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/baypiggies/attachments/20071212/5245afa8/attachment.htm
More information about the Baypiggies
mailing list