import struct data = open(r'C:\git\bt411\content\BTL4.RES', 'rb').read() labOnly, maxID = struct.unpack_from('