<< pyGetInfos Python Interaction Mechanism in Scilab pyGetName >>

Python Interaction Mechanism in Scilab >> Python Interaction Mechanism in Scilab > pyGetMethods

pyGetMethods

Get the available methods of Python object

Calling Sequence

methods = pyGetMethods()

Arguments

methods

A column of strings.

Description

Get the methods of a Python object. Since methods 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
pyGetMethods(os.path)

pyShowPrivate(%t)
pyGetMethods(os.path)

See Also

History

VersionDescription
5.4.0 Python module.

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