python

package
v0.0.0-...-14e3c9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interpreter

type Interpreter struct {
	// contains filtered or unexported fields
}

func NewInterpreter

func NewInterpreter() (*Interpreter, error)

func (*Interpreter) Close

func (i *Interpreter) Close() error

func (*Interpreter) Exec

func (i *Interpreter) Exec(code string) (string, error)

func (*Interpreter) ExecFile

func (i *Interpreter) ExecFile(path string) (string, error)

func (*Interpreter) ExecFunction

func (i *Interpreter) ExecFunction(module, function string, args ...interface{}) (string, error)

func (*Interpreter) InstallPackage

func (i *Interpreter) InstallPackage(pkg string) error

func (*Interpreter) WithEnv

func (i *Interpreter) WithEnv(env []string) *Interpreter

func (*Interpreter) WithPath

func (i *Interpreter) WithPath(path string) *Interpreter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL