摘要: 第11章 文件与文件系统open()函数:形式:open(file,mode='r',buffering=-1,encoding=None,errors=None,....)返回一个文件对象filemode取值:r 只读w 可写,会清除文件内容a 附加数据b 二进制数据模式x 新建一个文件,可写+ 阅读全文
posted @ 2016-08-17 17:09 魔沫 阅读(329) 评论(0) 推荐(0) 编辑