f=open("a.txt","w") a=f.encoding #显示文件的打开所使用的编码 print(a)
林海峰讲的有点点太烂了
文件操作的其他方法 flush seek都没听懂 ,先往下进行吧
原文:https://www.cnblogs.com/yxzymz/p/12748113.html