[Zope] Re: Changing the path of the cataloged objects
Paul Winkler
pw_lists@slinkp.com
Thu, 16 Jan 2003 16:22:35 -0800
On Thu, Jan 16, 2003 at 11:18:44PM +0100, Igor Leturia wrote:
> OK. But what would be the exact python code to do the following:
> - for each of the cataloged objects
> + see if the path contains a certain string
> + replace the string for another one
> I'm new to Python and I don't know how to do it or what methods or
> properties the ZCatalog object has (and I don't know how can I obtain
> that information)...
ZCatalog methods are in the API reference.
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixB.stx
--
Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's NON-NATIVE SEXUALLY AMBIVALENT COW!
(courtesy of isometric.spaceninja.com)