I Got this nice external method from Steve Alexander: I've used the following external method to recompile all my PythonScripts. def recompile_ps(self): metatype='Script (Python)' for name,script in self.ZopeFind(self, search_sub=1, obj_metatypes=[metatype]): print "recompiling",name script.ZPythonScript_edit( script._params, script._body ) return "OK" On Thursday, August 9, 2001, at 10:17 AM, Ron Bickers wrote:
I can probably make a utility script that does this.
That would be most helpful. Especially if for every upgrade we would need to recompile them all.
Thank you! _______________________
Ron Bickers Logic Etc, Inc.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )