[Zope] Import File
Dieter Maurer
dieter@handshake.de
Tue, 25 Mar 2003 20:37:23 +0100
Sebastian Quei=DFer wrote at 2003-3-24 18:54 +0100:
> Is there a function in python like ImageFile() for a normal file, like=
a=20
> pdf?
You can use "ImageFile" here, too.
The only difference (between "Image" and "File") is the "__str__"
method: for an image, it results in an "img" tag, for a file
it's the files content.
You loose the option to access the content with "str(...)" for
"ImageFile", but you probably do not need it....
Dieter