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 ([EMAIL PROTECTED])
Anansi Spaceworks http://www.AnansiSpaceworks.com


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to