look at lib/python/Products/PythonScripts/README.txt or learn about using ModuleSecurityInfo(). -aj --On Samstag, 22. Januar 2005 0:19 Uhr +0800 Hong Yaun <hongyuan@homemaster.cn> wrote:
If I have a self-written module/package which contains some module level methods, how can I make it available for use in the rest of Zope (e.g. in page templates, python script objects etc.)?
Because it is just some utility functions, like the zope built-in sequence module, I don't want to register them as a zope class with all the manage* methods and create zope object from that. And I want the module to be initialized once, upon the start of zope or refresh of product maybe, to read some configuration file on the file system. What's the simplest way to achieve this?
Greetings, Hong Yuan
_______________________________________________ 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 )