import os.path import struct import sys with open("_header.bin", "wb") as f: x = struct.pack('