<< pyDeff Python Interaction Mechanism in Scilab pyEvalStr >>

Python Interaction Mechanism in Scilab >> Python Interaction Mechanism in Scilab > pyDict

pyDict

Create a set

Calling Sequence

d = pyDict([key_1, val_1 [, key_2, val_2 ... ]])

Arguments

key_i

A Python object or a Scilab wrappable data.

val_i

A Python object or a Scilab wrappable data.

d

A Python object.

Description

Get a dict built with the input arguments. The number of arguments must be even.

Examples

d = pyDict(1, 2+%i*3, "Hello", %t, %f, [1 2;3 4])

pyRemove d

See Also

History

VersionDescription
5.4.0 Python module.

Report an issue
<< pyDeff Python Interaction Mechanism in Scilab pyEvalStr >>