PyCall function

The PyCall function calls a Python callable object.

Syntax

pyresult = %PyCall(PyCallableObject[,arg1, arg2, ...])

Parameters

The following table describes the parameters for this function.

Parameter Description
pyresult A variable to store the results.
pycallableobject A variable pointing to a Python object that is callable, such as a function object, class object, or method object.
arg1,arg2,… The arguments to the callable Python object.