res = input("输入文件的绝对路径:") f = open(res,'r') start = int(input()) end = int(input()) print(f.read(end - start)) f.close()