On Fri, 30 Jun 2000, David Trudgett wrote:
> I wonder if anyone has a sample Python script that traverses the ZODB to
> query or perform arbitrary operations on the objects found in it? My
> present requirement is to write a script that goes through and does some
> automated updating of several dozen DTML documents.
I don't have any sample scripts, but one way to do it would be
to create a ZCatalog, catalog the relevant objects via some
unique field, and then just use Catalog(<search keys))
and getObject(data_record_id_) to iterate over the objects.
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -