I have a very large file that I want to open and read specific lines from it, I always know what line number the data I want is at, but I don't want to have to read the entire file each time just to read that specific line.
Is there a way you can only read specific lines in Python? Or what is the most efficient way possible to do this (i.e. read as little of the file as possible, to speed up execution)?