[Zope] Find a object in a zope list
Andreas Jung
lists at andreas-jung.com
Sun May 8 02:19:14 EDT 2005
--On Samstag, 7. Mai 2005 19:52 Uhr -0700 Allen Huang <swapp0 at yahoo.com>
wrote:
> I have a fold and I used objectValues['Image'] to make a array list of
> images. I have rename each image using AUTHENTICATED_pic.jpg and want to
> use an if statement to find the image with the same name in the array
> list. Can someone tell how?? Is there a findObject function or something??
>
if someid in folder.objectIds(['Image']):
...
-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050508/63799100/attachment.bin
More information about the Zope
mailing list