RE: [Zope] Scripting rather than using the management GUI ...
...and of course, you can just shut down your server and import everything into the interactive interpreter. --Paul
-----Original Message----- From: Ross J. Reedstrom [mailto:reedstrm@wallace.ece.rice.edu] Sent: Thursday, July 15, 1999 10:55 AM To: Darran Edmundson Cc: zope@zope.org Subject: Re: [Zope] Scripting rather than using the management GUI ...
Darran - take a look at
<Zope root>/lib/python/ZPublisher/Client.py
as an example of connecting to a running Zope system from a command line. This should allow you to at least automate that last step.
Ross
On Thu, Jul 15, 1999 at 06:49:27PM +1000, Darran Edmundson wrote:
Can I bypass the management GUI and just use python scripts to make changes to my Zope Object Database? For example, I'd like to traverse my entire database correctly setting the height and width properties of all images. I'll give myself RSI doing this via the GUI. The other option that I can see is to write an external method, put this in the root folder, and call it through the management interface. The last step seems gratuitous and I'm left feeling that there must be a simpler solution.
-- Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> NSBRI Research Scientist/Programmer Computer and Information Technology Institute Rice University, 6100 S. Main St., Houston, TX 77005
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Paul Everitt