[Zope] Python and Zope Question

R. David Murray bitz@bitdance.com
Thu, 1 Jun 2000 19:25:16 -0400 (EDT)


On Thu, 1 Jun 2000, Scott Burton wrote:
> for x in folderObject :
>   return x
> 
> I am going to do things to the items once I have access to them, I 
> just can't figure out how to reference ZODB objects in Python. I have 

for x in folderObject.objectValues(['some_meta_type','some_other_type']):
  do stuff

If the external method is in a folder, then 'self' is the folder
object when the method gets called.

--RDM