使用 ‘rb’ 读取二进制文件:
the encode() and decode() methods convert strings into bytes objects and back again:
b’ ’ 和encode()的作用是一样的,转成二进制编码的对象。
‘gbk‘ codec can‘t decode byte 0x99 in position 485: illegal multibyte sequence
于 2022-07-19 09:59:38 首次发布