[Zope] readinf File contents

Richard Smol jazzcat@dds.nl
Wed, 5 Jan 2000 19:32:03 +0100 (MET)


> To get the contents of the file object, use its read() method, eg:
> 
> a=open("myfile.txt", "rb)
> output=a.read()
> 
> "output" is now a string you can use re on, etc.

I was actually referring to ZOPE File-objects, which, I found out, don't 
behave quite the same.

Greetz,

RS