摘要:
data = open("yesterday",encoding="utf-8") //打开文件 read(3)代表读取3个字符,其余的文件内光标移动是以字节为单位,如:seek,tell,read,truncate f.flush() #讲文件内容从内存刷到硬盘(python3.x) f.clos 阅读全文
posted @ 2019-09-10 20:56
竹径风声
阅读(134)
评论(0)
推荐(0)
|
摘要:
data = open("yesterday",encoding="utf-8") //打开文件 read(3)代表读取3个字符,其余的文件内光标移动是以字节为单位,如:seek,tell,read,truncate f.flush() #讲文件内容从内存刷到硬盘(python3.x) f.clos 阅读全文
posted @ 2019-09-10 20:56
竹径风声
阅读(134)
评论(0)
推荐(0)
|