py

Executes Python script and wait for completion.

Syntax

(py,script)

Parameters

script Python script.

Examples

(py,import planetcnc\n\ndef myTest(a, b):\n\tc = a + b\n\treturn c\n\nplanetcnc.result(myTest(2, 3)))

See also

pythr