2016-05-21 Python3でTypeError: string argument expected, got 'bytes'と出たときの対処法 Python 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