Import no longer works in Python 2.3.x
Paul Clinch
pclinch at internet-glue.co.uk
Thu Feb 12 10:14:24 EST 2004
Interesting, I note that there has been some code revision around the
import. See the whats new in python 2.3, Importing Modules from Zip
Archives and New Import Hooks.
If a full pathname is used, eg.
/home/paul/projects/test/customModules
the code works as before. This would definitely be safer since the
current directory may change in the future, causing the import to fail
anyway.
Regards, Paul Clinch
More information about the Python-list
mailing list