[Zope] Using an external method into another external method

Josef Meile jmeile@hotmail.com
Fri, 6 Sep 2002 11:34:16 +0200


> If you must do this put an empty file called __init__.py in the Extensions
> folder (you might need to restart).
Andy, thanks for the trick. It works.

About this answer:

> Put Extensions directory in you sys.path
I just found a document which says how to do it 
http://www.zope.org/Members/Amos/ZPublisher
and it seems to be easy as well.

But I have a doubt about this one:
> or PYTHONPATH enviroment.
Where should one set the PYTHONPATH? in the start script?
I didn't found it there, so I guess it's not set. Anyway, when one
sets this variable, will it rewrite the default values? or will they be
taken as well?

Thanks in advanced,
Josef