Table of Contents

Class CreateRuntime

Namespace
Bonsai.Scripting.Python
Assembly
Bonsai.Scripting.Python.dll

Represents an operator that creates a Python runtime object which can be used to import modules, evaluate expressions, and pass data to and from a Python scope.

public class CreateRuntime : Source<RuntimeManager>
Inheritance
CreateRuntime
Inherited Members

Properties

PythonHome

Gets or sets the location where the standard Python libraries are installed.

ScriptPath

Gets or sets the path to the Python script file to run on runtime initialization.

Methods

Generate()

Creates an observable sequence that initializes a Python runtime object which can be used to import modules, evaluate expressions, and pass data to and from a Python scope.