Having a module ask itself where it's at.

logistix logistix at zworg.com
Sat Feb 15 16:27:26 EST 2003


I'm trying to bundle a ConfigParser file with a package I'm working
on.  How can I have the module in the package locate this file?

Since it's being loaded via import, and directory could really be the
current working directory when the script is executed.

Any pointers would be appreciated.




More information about the Python-list mailing list