Exec

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:


Function

Exec(script)

script

Exec(script, parameters)

script
parameters

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: