Andreas Jung wrote at 2008-3-9 15:38 +0100:
>question for the Zope dinosaurs: was there a possibility for running a
>script against a Zope instance like zopectl run with newer Zope versions?

There was no precanned way but it is simple to
perform actions very similar to "zopectl run".
You do not need the "configure", though, as it was introduced only
in Zope 2.7.

You essentially do in such a runner script:

    from sys import argv
    del argv[0] # get rid of us
    from Zope2 import app;
    app = app()
    execfile(argv[0])



-- 
Dieter
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to