include files with a package

John Hunter jdhunter at
Mon May 28 10:24:11 EDT 2001

>>>>> "Laura" == Laura Creighton <lac at> writes:

    Laura> Put cwd=os.getcwd() in your __init.py__ file.  Laura

getcwd() returns the dir of the script which calls the module, not the
location of the module.

More information about the Python-list mailing list