Calling Python Functions

Before using functions written in the Python language, make sure that there is integration of Python and Foresight Analytics Platform.

To call the functions written in the Python language, use the Invoke system function. Syntax of the Invoke function:

Invoke("ModuleName","FunctionName",Param1,Param2,…,ParamN)

Where:

To call Python functions without parameters, the Invoke function has the following syntax:

Invoke("ModuleName","FunctionName",Null)

On calling the Python functions, take into account the following features:

TIP. For details on writing functions in the Python language and on import of modules into the Python library, see Python documentation.

See also:

Inserting Functions and Operators