On Aug 17, 2005, at 4:40 PM, Tino Wildenhain wrote:

cd Products
mkdir FancyThirtPartyStartupDieterForgotTheName
cd Fancy*
echo "import mymoduleineedtostart" >__init__.py
echo "mymoduleineedtostart.run()" >>__init__.py

maybe? ;)

A neat variation of this would be something derived from OFS.Folder.Folder that would iterate over each of its contained objects and execute them. You could then drop in whatever sort of python scripts, external methods, ZSQL methods, custom products, or whatever you wanted to have done at startup.

Zope maillist  -  Zope@zope.org
**   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