Python is a common-purpose programming language that is used to develop high-productive applications. Standard Python libraries and a number of external third-party modules significantly expand the range of solved tasks.
This section describes the Python assembly that is used to execute functions implemented in the Python programming language. Install Python 3.5.+ to be able to work. For details about installation, read theConnecting External Modules to Foresight Analytics Platform subsection.
Main interfaces of the Python assembly are:
IPythonUtils. The interface is used to execute functions in Python language.
IPythonClassObject. The interface is used to execute functions that are implemented in classes in Python language.
The Invoke or InvokeModule static method of the Python class can also be used to execute Python functions.
Other assembly interfaces are used to work with objects that have Python language types and can be obtained or sent in the Python function.
For details about working with the assembly see the following subsections:
See also:
Python Assembly Interfaces | Python Assembly Enumerations | Python Assembly Classes | Examples