...
The imported modules are referenced by the workflows, but as each agent has its own memory space, global variables will not be shared between agents or workflows.
Module Menus
The main menu changes depending on which configuration type has been opened in the currently active tab. There is a set of standard menu items that are visible for all configurations and these are described in 2.1 Menus and Buttons.
The menu items that are specific for the Python Module are described in the following sections.
File Menu
Option | Description |
---|---|
Import... | Select this option to import code from an external file. Note that the file has to reside on the host where the client is running. |
Export... | Select this option to export your code to a *.py file that can be edited in other code editors, or be used by other systems. |
Edit Menu
Option | Description |
---|---|
Validates that the Python syntax in the configuration is correct. The Python Language Service tool must be running to enable the validation function. For further information, see 9.6061.4 Python Language Service. | |
Select this option to undo your last action. | |
Select this option to redo the last action you "undid" with the Undo option. | |
Cuts selections to the clipboard buffer. | |
Copies selections to the clipboard buffer. | |
Pastes the clipboard contents. | |
Displays a dialog where chosen text may be searched for and, optionally, replaced. | |
Repeats the search for the last string entered in the Find dialog. |
Module Buttons
The toolbar changes depending on which configuration type is currently open in the active tab. There is a set of standard buttons that are visible for all configurations and these buttons are described in 2.1 Menus and Buttons.
...
Button | Description |
---|---|
Validates that the Python syntax in the configuration is correct. The Python Language Service tool must be running to enable the validation function. For further information, see 9.6061.4 Python Language Service. | |
Select this option to undo your last action. | |
Select this option to redo the last action you "undid" with the Undo option. | |
Cuts selections to the clipboard buffer. | |
Copies selections to the clipboard buffer. | |
Pastes the clipboard contents. | |
Displays a dialog where chosen text may be searched for and, optionally, replaced. | |
Repeats the search for the last string entered in the Find dialog. | |
Zoom out the Python code area by modifying the zoom number that you find on the toolbar. | |
Zoom in the Python code area by modifying the zoom number that you find on the toolbar. |
Python Code Editor Assistance
To provide assistance when you are writing code in the Python code area, there are several features in place:
...
For further information on these features, see 9.52.3 Python Code Editor Assistance.
Configuration Diff Panel
If you want to compare the current version of a Python Module configuration that you are displaying with a previous version of the same configuration, you can use Configuration Diff to compare the two versions side by side.
...