取movie.txt文件的若干行到movie2.txt
#取txt文件 的若干行到另一个txt
f1 = open(r'F:\movie.txt','rb')
f2= open(r'F:\movie2.txt','ab')
i=0
while True:
line = f1.readline()
i+=1
if i>100 and i<150:
f2.write(line)
if i>200:
break