摘要: 一.文件模式补充 r+ 不会创建文件的可读可写 with open("a.txt", 'r+', encoding="utf-8") as f : print(f.readable()) print(f.writable()) print(f.readline()) print(f.write("z 阅读全文
posted @ 2019-07-08 21:26 Tri_stone 阅读(126) 评论(0) 推荐(0) 编辑