<< pyGetField Python Interaction Mechanism in Scilab pyGetInfos >>

Python Interaction Mechanism in Scilab >> Python Interaction Mechanism in Scilab > pyGetFields

pyGetFields

Get the available methods of Python object

Calling Sequence

fields = pyGetFields()

Arguments

fields

A column of strings.

Description

Get the fields of a Python object. Since fields beginning with an underscore are considered like private, they are not shown and cannot be used, but in using the function pyShowPrivate with a boolean argument, this behaviour can changed.

Examples

pyImport os.path
pyGetFields(os.path)

pyShowPrivate(%t)
pyGetFields(os.path)

See Also

History

VersionDescription
5.4.0 Python module.

Report an issue
<< pyGetField Python Interaction Mechanism in Scilab pyGetInfos >>