<< pyGetPath Python Interaction Mechanism in Scilab pyImport >>

Python Interaction Mechanism in Scilab >> Python Interaction Mechanism in Scilab > pyGetVar

pyGetVar

Get a named variable from Python environment

Calling Sequence

X = pyGetVar(varName)

Arguments

varName

A string.

X

A Python object.

Description

Get a named variable in Python environment.

Examples

a = pyWrap(1:10);
pyAddVar("python_a", a)

pyEvalStr("python_a.reverse()")
b = pyGetVar("python_a")

pyRemove a b

See Also

History

VersionDescription
5.4.0 Python module.

Report an issue
<< pyGetPath Python Interaction Mechanism in Scilab pyImport >>