import woe
Terry Hancock
hancock at anansispaceworks.com
Fri May 19 10:33:11 EDT 2006
vaibhav wrote:
>4. add the root folder to your sys.path
>so your jar.py file should have the following entries
>from sys import path
>path.append('../../../ROOT')
>
>note: i prefer relative paths
>
>
Interesting that that works. I guess you could create
a limited form of Zope acquisition type behavior:
sys.path = ['.', '../', '../../', '../../../'] + sys.path
I'm looking forward to the introduction of relative
imports in 2.5, though.
Cheers,
Terry
--
Terry Hancock (hancock at AnansiSpaceworks.com)
Anansi Spaceworks http://www.AnansiSpaceworks.com
More information about the Python-list
mailing list