TypeError: string argument expected, got ‘bytes‘_TypeError

第十二行用BytesIO()代替StringIO()

TypeError: string argument expected, got ‘bytes‘_TypeError_02