[Zope-dev] ImageFile weirdness?

Chris Withers chris at simplistix.co.uk
Thu Feb 23 03:02:06 EST 2006


1. why the 3 posts?

2. Why on zope-dev at zope.org? This should be on zope at zope.org

Jürgen Herrmann wrote:
> hi all!
> 
> i have a class ImageContainer in a python product, that has an ImageFile
> attached, it's named 1.gif:
>    ...
>    image = ImageFile('1.gif', '/some/where')
>    setattr(self.__class__, '1.gif', image)

3. Arrgh?! What _are_ you trying to do here?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope-Dev mailing list