摘要: 其他模式补充 1、r 只读模式/ 2、w 只写模式 3、追加写模式 将上面的三个模式称为纯净模式r+w+a+ """ 在rt模式下 read内的数字 表示的是字符的个数除此之外,数字表示的都是字节with open(r'test','r',encoding='utf-8') as f:print(f 阅读全文
posted @ 2019-07-08 20:45 Aomur 阅读(195) 评论(0) 推荐(0) 编辑