Assembly: Python;
Namespace: Prognoz.Platform.Interop.Python;
The PythonUtils class implements the object that is used to execute functions in the Python language.
To execute a function in the Python language:
Create an instance of the PythonUtils class.
Set path to Python units for the obtained object using the AddFolderToPythonPath method.
Execute the Python function and get result using the Invoke method.
Class to get analog of the PythonUtils class:
None;
Class to get analog of the PythonUtils class object:
PythonUtilsClass();
Method name | Brief description | |
AddFolderToPythonPath | The AddFolderToPythonPath method adds the specified folder to the folders list to search for Python units. | |
Invoke | The Invoke method executes function in the Python language and returns result of its work. |
See also: