with open('1_qinshi.txt',encoding='utf-8') as ef:
while True:
if not ef.read(25):
break
print(ef.read(25),end='')
with open('1_qinshi.txt',encoding='utf-8') as ef:
ef=ef.readlines()
for i in ef:
print(i,end='')
#strip(”123”) 头尾的空格 以及123都要去掉
#rstrip 尾部的空格
#seek(9,0) 从0开始