[IPython-dev] IPython, Python 3.x, pyout, data

Dino Viehland dinov at microsoft.com
Mon Mar 11 14:55:04 EDT 2013


Quick question on the data in pyout on Python 3.x.  It appears that when I get image/png data coming from matplotlib that the value is a string.  I can successfully encode the data with utf8 and then apply the base 64 decoding to it.

I'm just surprised this isn't already in bytes on Python 3.x, is there a reason why it's a Unicode string?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130311/4e5814ed/attachment.html>


More information about the IPython-dev mailing list