4 Feb
2002
4 Feb
'02
10:28 p.m.
[Tim Hicks]
Is it possible to create subdirectories of Zope/Extensions/ and use the dir.file syntax to access their contents?
As far as I remember, it is not possible to import modules from the Extensions directory (or any of its children I presume). You need to put the modules somewhere else appropriate. I use lib/python/Shared/<My Chosen Folder Name>/module.py
You do have to make sure they are on the python path used by your zope python interpreter. One way is to put the location into a .pth file. This has come up a few times on the list. Cheers, Tom P