Imbaud Pierre <[EMAIL PROTECTED]> writes:

> I am willing to retrieve the file an imported module came from;
> module.__file__, or inspect.getfile(module) only gives me the
> relative file name. How do I determine the path?

>>> import os
>>> os.path.abspath(module.__file__)

-- 
HTH,
Rob
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to