code: def strToGUID(s):
      
      dat = uuid.UUID(hex=s)
      if isinstance(dat.bytes_le, str):
          # Python 2
          dat = [ord(e) for e in dat.bytes_le]
      else:
          # Python 3
          dat = list(dat.bytes_le)
      return dat
docs: Converts a GUID string into a list of bytes.
  
      >>> strToGUID('{AD4F1667-EA75-4124-84D4-641B3B197C65}')
      [103, 22, 79, 173, 117, 234, 36, 65, 132, 212, 100, 27, 59, 25, 124, 101]