摘要: 1.with open('1.text', 'wb') as file: file.write(xxxx) 此处wb模式为二进制写方式打开,如果传入str,则会报错,str does not support the buffer inter face. 我的天,我花了一个多小时才明白过来。 2.使用 阅读全文
posted @ 2018-04-08 15:12 kkkbo1 阅读(636) 评论(0) 推荐(0) 编辑