PythonUtils

Assembly: Python;

Namespace: Prognoz.Platform.Interop.Python;

Description

The PythonUtils class implements the object that is used to execute functions in the Python language.

Comments

To execute a function in the Python language:

  1. Create an instance of the PythonUtils class.

  2. Set path to Python units for the obtained object using the AddFolderToPythonPath method.

  3. Execute the Python function and get result using the Invoke method.

Fore.NET Syntax

Class to get analog of the PythonUtils class:

None;

Class to get analog of the PythonUtils class object:

PythonUtilsClass();

Class object methods inherited from IPythonUtils

  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:

Python Assembly Classes