Table Of Contents

Previous topic

pyExit

Next topic

pyGet0

This Page

pyFunction

The function pyFunction creates a new object of type pyFunction based on a given key.

The function pyFunction makes it easy to create interfaces to Python functions.

Usage

pyFunction(key)

Arguments

key   a string specifying the name of a Python method/function.

Examples

if ( pyIsConnected() ){
pySum <- pyFunction("sum")
pySum(1:3)
}