Table of Contents

Class PythonPathScheme

Namespace
Alternet.Common.Python
Assembly
Alternet.Common.Python.v10.dll
public static class PythonPathScheme
Inheritance
PythonPathScheme

Properties

FindPythonDllRules

Gets or sets the rules for finding the Python DLL.

Kind

Gets or sets the current Python path scheme kind.

SchemePathValue

Gets or sets the delegate to retrieve a specific scheme path value. This is used from GetSchemePathValue(PythonPathValueKind, PythonPathSchemeKind?). Default is null.

SchemePathValues

Gets or sets the delegate to retrieve scheme path values. This is used from GetSchemePathValues(PythonPathSchemeKind?). Default is null.

Methods

FindPythonDll()

Gets path to Python dll. This is the correct way to find python on macOs or Linux.

GetSchemePathValue(PythonPathValueKind, PythonPathSchemeKind?)

Retrieves the path value for a specific Python path value kind and scheme kind.

GetSchemePathValues(PythonPathSchemeKind?)

Retrieves the scheme path values for the specified Python path scheme kind.

Log(string, PythonPathSchemeKind, bool)

Logs the scheme path values to a specified file.

LogToFile(string)
ToConfigString(PythonPathValueKind)

Converts a PythonPathValueKind enumeration value to its corresponding configuration string.