You add the additional path to etc/zope.conf using the 'path' directive.
Stefan
On 11.05.2009, at 13:22, Dganit David wrote:
> Hi,
>
> I use python script as an external method,
> Do you know how to define the python libraries path.
> I get an error No module named …..
>
> My program run fil
I use python script as an external method,
Do you know how to define the python libraries path.
I get an error No module named .
Here is something I use in external methods:
EXTDIR = '/apps/zope/Extensions'
import sys
if EXTDIR not in sys.path:
sys.path.append(EXTDIR)
hth
Jonathan
Hi,
I use python script as an external method,
Do you know how to define the python libraries path.
I get an error No module named .
My program run file when all code is in file or from python directly.
Thanks Dganit
___
Zope mai