摘要: 一.文件 (一)文件操作 open(文件, mode="", encoding="utf-8") 文件读取: r(read) 1. readline() 读取一行 2. for循环 读取每一行内容 不能写 向文件中写入内容: w(write), a(append) write() 写出内容 不允许读 阅读全文
posted @ 2019-01-16 22:40 金融之门 阅读(341) 评论(0) 推荐(0) 编辑