RUN_PYTHON_CODE

Executes Python code. If successful, it returns a 1; otherwise returns 0.

Format

RUN_PYTHON_CODE(Python code as String)

Arguments

 
String
A string containing the Python source code. It may contain multiple lines, separated by '\n'.

Example

The following function will return 1:
RUN_PYTHON_CODE("sys.version")