In this section |
See also |
The Live Python device allows you to add Python scripts to your project as string control values, rather than creating individual functions on the Script tab. The main benefits are:
The device has an editor icon on its control surface. Once you have emulated or deployed the project, you can double-click this icon to edit the script in an external editor.
When scripts are stored in Live Python devices, they are encrypted. If you place a Live Python device on a locked page, users who do not have the required access rights will not be able to view the script, either by clicking the editor icon or by viewing the project or plugin file.
Notes:
Tips:
For information on writing Python scripts, refer to the Python Developer's Guide.