In Python, I'm trying to extract some data from a binary file. I know the offsets of my data. They are always the same. For instance, written beneath is the first 4 offsets and the converted offset as a decimal value.
file.seek() to skip between locations in a file. In this case, to go to the next location in the file, you would use
file.seek(3121, 1) which seeks 3121 bytes ahead relative to the current position.
EDIT: I didn't realize you were changing the file position after opening it, so it should actually be 2685 bytes that you're seeking ahead each time, to account for the 256 you read.