python 文件读写查找、替换相关简单操做

python 文件读写查找、替换相关简单操做python #打开文件 w会新建文件,有写的权限 r读 r+读写 #fo =open("file1.txt","w") fo =open("file1.txt","r+") print(fo) print(fo.read) fo.write("bbbbbbbbbbbbbb") print(open("file1.txt")) fo.
相关文章
相关标签/搜索