https://www.coderli.com/python-stringio-bytesio/
Python练习-IO操作 StringIO、BytesIO - OneCoder