Skip to content
This repository was archived by the owner on Mar 22, 2026. It is now read-only.

Make save_as_base64 python 3 compatible#636

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

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

Conversation

@leezu

@leezu leezu commented Feb 14, 2018

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant