[Zope] Accessing File Object Contents in Python Script

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Wed, 3 Oct 2001 20:39:50 +0400


On Wed, Oct 03, 2001 at 04:34:08PM +0000, complaw@hal-pc.org wrote:
> Does anyone know how to access the contents of a File object (i.e., the file
> itself) from within a python script.
> 
> o.file or o.contents doesn't work.

   I think it is o.read()

Oleg.
---- 
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.