[Zope] including arbitrary files in zope products

Dieter Maurer dieter at handshake.de
Fri Sep 3 14:18:37 EDT 2004


Johan Carlsson wrote at 2004-9-3 08:55 +0200:
> ...
>For Images you can use
>
>from Globals import ImageFile
>file=ImageFile('www/image.gif', globals())

Despite its name, you can use "ImageFile" for arbitrary files and not
only for images.

-- 
Dieter


More information about the Zope mailing list