[IPython-dev] [Notebook 1.0.0] Display two png images side by side
Mon Sep 2 15:42:26 CDT 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 <firstname.lastname@example.org>
> On Mon, Sep 2, 2013 at 10:31 PM, Francesco Montesano
> <email@example.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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev