python中关闭文件

1、关闭文件,通过f.write把内容写入文件会覆盖之前文件中的内容

posted @ 2015-06-04 23:24  萱娃  阅读(1245)  评论(0)    收藏  举报