[Zope] Read File using python script

Dieter Maurer dieter at handshake.de
Wed Oct 15 14:39:37 EDT 2008


vaibhav pol wrote at 2008-10-15 13:01 +0530:
>I create folder in zope where I add one text file .Now i want to read the
>content of the file
>using the script python not using external script  how can i do that .

For an "OFS.Image.File" object, the "str" function returns its content:
"str(file)".



-- 
Dieter


More information about the Zope mailing list