include files with a package

John Hunter jdhunter at nitace.bsd.uchicago.edu
Mon May 28 16:24:11 CEST 2001


>>>>> "Laura" == Laura Creighton <lac at cd.chalmers.se> 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