Get the value of the field of a Python object.
val = pyGetField(obj, name [, mustUnwrap])
A Python object or a wrappable Scilab variable.
A string
A boolean
Scilab data or Python object
Get the value of a field if the field name exists. If mustUnwrap is set to true, then the returned value is unwrapped when it is possible.
By default, the fields starting with an underscore cannot be read, but this behaviour can be changed in using pyShowPrivate.
Version | Description |
5.4.0 | Python module. |