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