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. PS: My OS is Linux. Thank you, Carlos Eduardo
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
participants (2)
-
Carlos Eduardo -
Dieter Maurer