Exec
Function |
Exec(script)
Exec(script, parameters)
|
The Exec function runs a Python script in exec mode and returns the resulting variable values to Blockpad. Optionally, values may be passed in as the initial variables within the script.
Examples:
See also:
You can refer to this function in any formula, macro, module, or other script in Blockpad. You can use either its name or its full path:
-
To refer to it by name, use
Exec(...)
(make sure the library Library.Scripts.Python is included with Include Libaries) - To refer to it by its full path, use
Library.Scripts.Python.Exec(...)
See also: