dynamically creating html code with python...

Carsten Haese carsten.haese at gmail.com
Mon Aug 11 18:44:19 EDT 2008


anartz at anartz.cjb.net wrote:
> [CODE]
>     f = StringIO.StringIO()
>     pylab.savefig(f)
>     return 'data:image/png,' + urllib.quote(f.getvalue())
> [/CODE]
> 
> This works fine in Firefox, but not in IE7. Any ideas why?
> 

Yes. Internet Explorer doesn't support the "data:" URI scheme.

--
Carsten Haese
http://informixdb.sourceforge.net



More information about the Python-list mailing list