Re: [Zope] define library path for python external method

2009-05-13 Thread Stefan H. Holek
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

Re: [Zope] define library path for python external method

2009-05-11 Thread Jonathan (dev101)
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

[Zope] define library path for python external method

2009-05-11 Thread Dganit David
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