run_python_script#

ansys.optislang.core.tcp.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: Optional[list], optional

Script arguments, by default None.

passwordOptional[str], optional

Password, by default None.

Returns:
str

JSON string of register_listener command.