Module

Function

Module(modulePath)

modulePath

The Module function allows Python modules to be imported as an object within Blockpad. This allows Python functions and other resources to be used natively in Blockpad.

Example:

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 Module(...) (make sure the library Library.Scripts.Python is included with Include Libaries)
  • To refer to it by its full path, use Library.Scripts.Python.Module(...)

 

See also: