include files with a package

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


>>>>> "Mike" == Mike C Fletcher <mcfletch at home.com> writes:

    Mike> For python files loaded directly from disk, see the __file__
    Mike> variable in your module.  Unfortunately, this variable has a
    Mike> habit of being available or not depending on the phase of
    Mike> the moon (mostly when you pack Python packages into an exe
    Mike> with Py2EXE or McMillan Installer).  

That seems to work.  I don't have any immediate plans to make exe
files, but I'll note this problem in case I come across it in the
distant future.

Thanks,
John Hunter 



More information about the Python-list mailing list