seek文件指针: #seek(偏移量,位置) 位置:0表示开头 1表示当前位置 2表示结尾 >>> e = open('3.txt','rb') #以rb打开文件文件指针好移动 >>> e.read() b'hi\r\nbob\r\nnihao\r\n' >>> e.<