[IPython-dev] [Notebook 1.0.0] Display two png images side by side
Thu Sep 12 10:27:01 CDT 2013
Sorry for not replying before. It does work now.
2013/9/2 Francesco Montesano <email@example.com>
> 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