[Zope] Iterating over objects in ZODB

Rich Harley raharley0 at gmail.com
Wed May 13 13:36:03 CEST 2015

When iterating over dtml objects, the contents of those scripts can be returned:


for item in context.objectValues():
 if item.meta_type=='DTML Method’:
     print item

But when iterating over Python Scripts, only:

<PythonScript at handleday>

is returned. How can I access the actual contents of the Python Script?


More information about the Zope mailing list