摘要: 移动光标(每次读取信息,可以理解为有一个光标在移动,读完信息,光标移动到最后) 1.读取光标: 1 f = open("file",'r',encoding = 'utf-8') 2 print(f.tell()) 返回0 2.tell 读取信息是按字符个数 1 f = open("file",'r 阅读全文
posted @ 2018-09-26 22:11 杨fj 阅读(88) 评论(0) 推荐(0)