[Zope] Accessing File Contents

Dieter Maurer dieter@handshake.de
Tue, 22 Jul 2003 23:25:25 +0200


Tom Nichols wrote at 2003-7-21 14:43 -0600:
 > I have a Zope application that stores entries in Zope file objects.  I
 > know how to create the objects, storing text as the file's contents and
 > know how to read and update the objects properties from a script called
 > on the object.  But, I don't know how to access or update the file's
 > contents from such a script. So, I've stored all my data as properties.
 > 
 > 
 > I'd appreciate help in accessing and updating the file object contents
 > from a python script called on the object in Zope. 

Maybe, my "DocFinder" can help you

  <http://www.dieter.handshake.de/pyprojects/zope>

It tells you which methods an object has.


In your case, "manage_edit" and "update_data" and
"manage_uploade" may be adequate.


Dieter