import struct, sys PATH = "/Users/jing/Documents/yutong/test files/EXPRESS 1.td5" def load(): return open(PATH, 'rb').read() def records(d=None): if d is None: d = load() out = [] off = 0x200 ptrs = [] while True: p = struct.unpack_from('