打开 open
操作 读read 写write open("wenjian","w" encoding utf-8)
open("wenjian","a" encoding utf-8) 读写
open("wenjian","r+" encoding utf-8) 读写
open("wenjian","w+" encoding utf-8) 写读
关闭 colse
文件操作
原文:http://www.cnblogs.com/304890695h/p/6820539.html