import struct path = "/home/aria/kellogg_remake/raw/PCKELL.DAT" data = open(path, "rb").read() start = 588 end = 900 vals = [] off = start while off+2 <= end: v = struct.unpack_from('