Re: [Zope] Python and Zope Question

2000-06-02 Thread Kevin Dangoor
'][-1].object1.object2.object3 Kevin - Original Message - From: "Scott Burton" [EMAIL PROTECTED] To: "Kevin Dangoor" [EMAIL PROTECTED] Sent: Friday, June 02, 2000 12:21 AM Subject: Re: [Zope] Python and Zope Question Thanks for the quick responses Kevin and R. Da

[Zope] Python and Zope Question

2000-06-01 Thread Scott Burton
Major newbie here. I am wanting to create a python method that iterates over items in a folder object in Zope. I am struggling with how to access objects in the ZODB in python. Here's the script in the simplest form. for x in folderObject : return x I am going to do things to the items once

Re: [Zope] Python and Zope Question

2000-06-01 Thread R. David Murray
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']):

Re: [Zope] Python and Zope Question

2000-06-01 Thread Kevin Dangoor
- Original Message - From: "Scott Burton" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 01, 2000 6:58 PM Subject: [Zope] Python and Zope Question Major newbie here. I am wanting to create a python method that iterates over items in a folder object in