[IPython-dev] [Notebook 1.0.0] Display two png images side by side
franz.bergesund at gmail.com
Mon Sep 2 16:42:26 EDT 2013
I'll give a try tomorrow. not it's getting late
Do you know if HTML understands b'...'?
2013/9/2 Stéfan van der Walt <stefan at sun.ac.za>
> On Mon, Sep 2, 2013 at 10:31 PM, Francesco Montesano
> <franz.bergesund at gmail.com> wrote:
> > thank you very much for the example. This should work wonderfully for
> > 2.x., but, as Zoltan pointed out, it won't work on python 3.x, as you
> > concatenate string and bytes objects (returned by base64 methods).
> That shouldn't be too much of a problem:
> In : bytes('asd'.encode('utf-8')) + base64.b64encode(b'asd')
> Out: b'asdYXNk'
> In : (bytes('asd'.encode('utf-8')) +
> Out: 'asdYXNk'
> Have a look at "numpy.compat" for some utility functions as well.
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev