I have a very simple script that copies my production Zope instance to
a fresh test instance.  I have some Python code that I need to execute
when the test instance starts for the first time (it only needs to
execute once, but it won't hurt Zope if it executes every time the
test instance starts.  I usually execute this code interactively, from
the Zope debugger:


Is there any way to execute this code (or something similar)
automatically?  I guess the alternative is that I could script the
process of entering the Zope debugger and running the above using
Expect or something.

Best wishes,

"Rogues are very keen in their profession, and know already much more
than we can teach them respecting their several kinds of roguery."
  - A. C. Hobbs in _Locks and Safes_ (1853)

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to