module.__path__

Kragen Sitaker kragen at pobox.com
Wed Nov 28 02:45:19 EST 2001


Hans Nowak <wurmy at earthlink.net> writes:
> Hmmm...
> os.path.abspath(module.__file__) should return the absolute pathname...

Unless you've chdirred to another directory since you loaded the module.




More information about the Python-list mailing list