python r+ 是追加写

python r+ 是追加写
f=open('path','r+')
f.write(1)
f.write(2)
文件内容是12
不能被一些博客误导了

posted @ 2020-05-27 10:43  Bravo_Jack  阅读(498)  评论(0编辑  收藏  举报