[Zope] Acess zope with python
Dieter Maurer
dieter@handshake.de
Sat, 18 Jan 2003 22:48:22 +0100
Carlos Eduardo wrote at 2003-1-17 17:25 -0200:
> I want to do a python method that import an object( Myapplication.zexp)
> to a folder in the zope server, but the method is in the file sytem,
> because i have to init the method with 'python installMyapplication.py'.
> The idea is to make a instalation script to a zope application.
> Anyone knows a method in python's API that can do it? Or a method that i
> can acess zope and pass as a parameter
> "manage_importObject('Myapplication.zexp')"?
> Or any other solution.
Have a look at "ZPublisher.Client". It is a nice way to
talk to/control Zope via HTTP.
You find a short description in
<http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>
Dieter