Python

Execute python code in WayScript programs.

Input and Output Wayscript Variables

Step 1 - Create A Variable

Variables can be created with the create variable module ( example ) or any other module / trigger output.

Step 2 - Import Variables

You can import WayScript variables directly into the python module.

Step 3 - Reference Variable Inputs

Reference imported variables through the inputs dictionary

Step 4 - Import Python Libraries

You can import a wide array of third party python libraries. If you require a library that is not offered, please email founders@wayscript.com and we will add it asap.

Step 5 - Output Variables

You can export Python variables and turn them into WayScript variables that can be utilized with other modules. Assign variable values to the outputs dictionary and they will become available.