run_python_script#

ansys.optislang.core.server_commands.run_python_script(script: str, args_: list | None = None, password: str | None = None) str#

Generate JSON string of register_listener command.

Parameters:
script: str

Path of the script.

args: list, opt

IP of the TCP listener.

passwordstr, opt

Password.

Returns:
str

JSON string of register_listener command.