python之文件操作

1.r模式

2.w模式

3.a模式

4.r+模式

5.w+模式

6.a+模式

7.循环文件即循环文件的没一行

8.修改文件

原文地址:https://www.cnblogs.com/guangjiao/p/11591913.html