22 Dec
2003
22 Dec
'03
5:48 p.m.
A very simple (?) problem: from a script I want to pass an image object to an external method. In Python:
def test(): ... foo=open('new.gif') ... return foo ... test() <open file 'new.gif', mode 'r' at 0x80df2e0>
In Zope: def test(): foo=open('new.gif') return foo This does not return an instance of the image but <img src="http://foo.bar.com" alt="" title="" height="10" width="10" border="0" /> Zope's doing some magic. How do I get the image object? Regards Christoph