not good but great

プログラミング、アート、映画・本の感想について書きます。

Python3でTypeError: string argument expected, got 'bytes'と出たときの対処法

StringIOではなく、BytesIOを使いましょう!

python imaging library - How to convert PIL image file into string in python3.4? - Stack Overflow

16.2. io — Core tools for working with streams — Python 3.5.1 documentation