摘要: f=open ('test.log','w') f.write('aaabbssss') f=open ('test.log','r') printf(f.tell()) 0(字节)查看指针位置 ret=f.read(2)//读两个字符 指定读取字符 printf(f.tell()) 4 f.see 阅读全文
posted @ 2017-02-04 11:43 张兮兮 阅读(118) 评论(0) 推荐(0) 编辑