code: def int2magic(magic_int):
      
  
      if (sys.version_info >= (3, 0)):
          return struct.pack('<Hcc', magic_int, bytes('\r', 'utf-8'), bytes('\n', 'utf-8'))
      else:
          return struct.pack('<Hcc', magic_int, '\r', '\n')
docs: Given a magic int like 62211, compute the corresponding magic byte string
       b'\x03\xf3\r\n' using the conversion method that does this.
  
      See also dictionary magic2nt2version which has precomputed these values
      for knonwn magic_int's.