python读文件,TypeError: a bytes-like object is required, not 'str'