If I understand you correctly, you want to have some process outside Zope call this external method in a Zope context.  We are doing this with XML-RPC and cron to kick off certain scripts (both internal and external) in a Zope context.

Any method, script, etc, in Zope can be called via XML-RPC. This is probably the best way to accomplish what you want.  Take a look at :

http://www.zope.org/Members/Amos/XML-RPC

Hope that helps,

Kevin


Jean Baltus wrote:

Hi all,

 

I would like to know if we can execute an external method from outside of Zope.

 

So let’s say that I have a script “install.py” and an external method “installer” that refers to it.

 

Can I execute the external method “installer” in a python script from outside of zope ?

 

Can I execute the “install.py” script from outside of Zope but manage to run it as it was under the same context of the external method?

 

 

I actually want to create a script to install a new product and would like the user NOT to create an external method in order to do this…

 

Thanx for your suggestions,

 

-- Jean Baltus