摘要: r+t:可读、可写 w+t:可写、可读with open('b.txt','w+t',encoding='utf-8') as f: print(f.readable()) print(f.writable())a+t:可追加写、可读 r+bw+ba+b with open('b.txt',mode 阅读全文
posted @ 2018-06-05 15:56 指尖市场 阅读(147) 评论(0) 推荐(0) 编辑