Table of Contents

Class Exec

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

Represents an operator that executes a Python script in the specified top-level module.

public class Exec : Combinator<PyModule>
Inheritance
Combinator<PyModule>
Exec
Inherited Members

Properties

Module

Gets or sets the top-level module on which to execute the Python script.

Script

Gets or sets the Python script to evaluate.

Methods

Process(IObservable<RuntimeManager>)

Executes a script in the main module of the Python runtime.

Process(IObservable<PyModule>)

Executes a Python script in an observable sequence of modules.

Process<TSource>(IObservable<TSource>)

Executes a Python script in the specified top-level module whenever an observable sequence emits a notification.