<< pyExists Python Interaction Mechanism in Scilab pyGetEnvId >>

Python Interaction Mechanism in Scilab >> Python Interaction Mechanism in Scilab > pyGetAttr

pyGetAttr

Get an attribute from a Python object

Calling Sequence

value = pyGetAttr(x, attr)

Arguments

x

A Python object or a Scilab wrappable data.

attr

A Python object or a Scilab wrappable data.

value

A Python object.

Description

Get the attribute of a Python object.

Examples

pyImport math
py_ceil = pyGetAttr(math, "ceil")

pyRemove py_ceil

History

VersionDescription
5.4.0 Python module.

Report an issue
<< pyExists Python Interaction Mechanism in Scilab pyGetEnvId >>