[Zope] Re: Extract Files from ZODB

Jonathan dev101 at magma.ca
Tue Feb 13 16:08:24 EST 2007


----- Original Message ----- 
From: "Jonathan" <dev101 at magma.ca>
To: <zope at zope.org>; "Carlosfocker" <carlosfocker at gmail.com>
Sent: Tuesday, February 13, 2007 4:05 PM
Subject: Re: [Zope] Re: Extract Files from ZODB


>
> ----- Original Message ----- 
> From: "Carlosfocker" <carlosfocker at gmail.com>
> To: <zope at zope.org>
> Sent: Tuesday, February 13, 2007 3:57 PM
> Subject: [Zope] Re: Extract Files from ZODB
>
>
>> Is that Python? Where should I be executing this code. Do I create a 
>> python
>> script? I'm not a python programmer.  If you can help guide help I would 
>> be
>> grateful.
>
> This code (from previous msg):
>
> for fileObj in container.objectValues('File'):
>   <do something with the file>
>
> is python and can be executed in either a python script or an external 
> method (depends on what you want to do with the file object once you have 
> it).
>
> You are going to have learn some python!

P.S.  you are also going to have to learn some Zope!


Jonathan 



More information about the Zope mailing list