Python read text file from second line to fifteenth
If the file isn't very big:
with open('/path/to/file') as f:
print f.readlines()[1:15]
Use itertools.islice
:
from itertools import islice
with open('filename') as fin:
for line in islice(fin, 1, 16):
print line