[Zope-dev] Zope.app() dance with 2.7

Chris Withers chrisw at nipltd.com
Fri Aug 8 07:20:45 EDT 2003


Chris McDonough wrote:
>>>What about when you're not debugging?
>>>
>>>What about scripts that pump stuff into Zope and the like?
> 
> That would be "zopectl run".

Hmmm... for trivialities sake, say what I had before was a script called 
x.py:

import Zope
app = Zope.app()
app.Catalog.catalog_object(app.document1)

What would x.py need to look like now, and how would I use "zopectl run" 
to run it?

cheers,

Chris




More information about the Zope-Dev mailing list