SyntaxFix
Write A Post
Hire A Developer
Questions
There are many ways to skip the first line. In addition to those said by Bakuriu, I would add:
with open(filename, 'r') as f: next(f) for line in f:
and:
with open(filename,'r') as f: lines = f.readlines()[1:]