code: def default(self, line):
          ''' if no other commands was invoked '''
          try:
              encoding, count = self._ks.asm(line)
              machine_code = ""
              for opcode in encoding:
                  machine_code += "\\x" + hexlify(pack("B", opcode)).decode()
              print("\"" + machine_code + "\"")
          except KsError as e:
              print("Error: %s" %ef default(self, line):
          ''' if no other commands was invoked '''
          try:
              encoding, count = self._ks.asm(line)
              machine_code = ""
              for opcode in encoding:
                  machine_code += "\\x" + hexlify(pack("B", opcode)).decode()
              print("\"" + machine_code + "\"")
          except KsError as e:
              print("Error: %s" %e)
docs: if no other commands was invoked