<< pyAutounwrap Python Interaction Mechanism in Scilab pyByCopy >>

Python Interaction Mechanism in Scilab >> Python Interaction Mechanism in Scilab > pyBuiltin

pyBuiltin

Get the module __builtin__.

Calling Sequence

py = pyBuiltin()

Arguments

py

A Python object.

Description

Get a reference on the __builtin__ module to use the built-in Python functions.

Examples

py = pyBuiltin()
mv = py.memoryview("Hello World !");
l = mv.tolist()
s = py.sorted(l);
py_chr = pyGetAttr(py, "chr");
m = py.map(py_chr, s);
S = pyWrap("");

// No need to keep the result of S.join(m)
str = pyUnwrapRem(S.join(m))

pyRemove py mv l s py_chr m S

History

VersionDescription
5.4.0 Python module.

Report an issue
<< pyAutounwrap Python Interaction Mechanism in Scilab pyByCopy >>