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

e.g.

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?

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

Reply via email to