code: def simxGetDialogInput(clientID, dialogHandle, operationMode):
      '''
      Please have a look at the function description/documentation in the V-REP user manual
      '''
      inputText = ct.POINTER(ct.c_char)()
      ret = c_GetDialogInput(clientID, dialogHandle, ct.byref(inputText), operationMode)
      
      a = bytearray()
      if ret == 0:
          i = 0
          while inputText[i] != b'\0':
              if sys.version_info[0] == 3:
                  a.append(int.from_bytes(inputText[i],'big'))
              else:
                  a.append(inputText[i])
              i = i+1
  
      if sys.version_info[0] == 3:
          a=str(a,'utf-8')
      else:
          a=str(a)
      return ret, f simxGetDialogInput(clientID, dialogHandle, operationMode):
      '''
      Please have a look at the function description/documentation in the V-REP user manual
      '''
      inputText = ct.POINTER(ct.c_char)()
      ret = c_GetDialogInput(clientID, dialogHandle, ct.byref(inputText), operationMode)
      
      a = bytearray()
      if ret == 0:
          i = 0
          while inputText[i] != b'\0':
              if sys.version_info[0] == 3:
                  a.append(int.from_bytes(inputText[i],'big'))
              else:
                  a.append(inputText[i])
              i = i+1
  
      if sys.version_info[0] == 3:
          a=str(a,'utf-8')
      else:
          a=str(a)
      return ret, a
docs: Please have a look at the function description/documentation in the V-REP user manual