Skip to content

Make save_as_base64 python 3 compatible#636

Open
leezu wants to merge 2 commits intoyhat:masterfrom
leezu:patch-1
Open

Make save_as_base64 python 3 compatible#636
leezu wants to merge 2 commits intoyhat:masterfrom
leezu:patch-1

Conversation

@leezu
Copy link

@leezu leezu commented Feb 14, 2018

six.BytesIO is a fake file object for binary data. In Python 2, it’s an alias for StringIO.StringIO, but in Python 3, it’s an alias for io.BytesIO.

`six.BytesIO` is a fake file object for binary data. In Python 2, it’s an alias for StringIO.StringIO, but in Python 3, it’s an alias for io.BytesIO.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant