python文件处理 r -- 只读 r+ -- 读写 w -- 只写并清空原有文件 a -- 附加到文件末尾 参考:http://www.17jo.com/program/python/file/OpenFile.html