seek函数 seek(offset,from) offset:偏移量 from:方向 0:表示文件开头 1:表示当前位置 2:表示文件末尾 tell() 告知当前的位置 转载于:https://www.cnblogs.com/zmw-1997/p/9498597.html