Calls a Python function or reads a Python constant.
Syntax
python.Module.Function(Argument1[[, Argument2],. ..])
or
python.Module.Constant
The syntax of the python instruction consists of the following elements:
Part |
Description |
---|---|
Module |
Is the name of the Python module from which a function is to be called or a constant is to be read. |
Function |
Is the name of the Python function to be called. |
Argument1...n |
Are the optional arguments that are passed to the function. |
Constant |
Is the name of the constant to be read. |
Availability
FlexPro Basic, Professional, Developer Suite
Example
python. math.sin(python.numpy.pi) |
calls the function sin() in the module math with the constant pi from the module numpy from Python as an argument. |