with open('data/0.bin', 'rb') as f: data = f.read() print(hex(int.from_bytes(data, byteorder='little', signed=False)))