Python Client

When setting parameters with the Python client, you must initialize the input parameters using driver.init_input_parameter(n) where n is the number of parameters to initialize. Each parameter is then set with a call to driver.set_input_parameter(parameter name or literal). Here is an example from python_client_example.py:

driver.create_services(b'PythonExample')
driver.init_input_parameter(2)
driver.set_input_parameter(b"8.23")
driver.set_input_parameter(b"1.25")
driver.submit(b"add")

In the above example, the literal values are expressed as 'b"8.23"' and 'b"1.25"'. These are expressions specific to Python. Refer to Python documentation if you have questions on them.