Is there a way to get a relative or absolute path to a python file once
it's been imported as a module?

For example, I type:
>>> import filegen

and I want a string that represents the path to filegen.py (either
relative to current working directory or the absolute path)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to