The node executes Python code. There are two ways to configure which code will be executed:
- Select (Templates Tab; double-click or "Use this template") and configure a Python template from the template repository.
- Write you own Python code (Script Editor Tab)
The Python installation which is used for execution can be set in the Preferences under KNIME > Community Scripting > Python Scripting . The settings allow to switch between a Python2 and Python3 installation. They further provide to set template resources (URLs or file locations) for either plot and snippet respectively.
Further, the node can be executed in an 'Open External' mode (checkbox at the Script Editor Tab) which then would push the KNIME data to Python for troubleshooting or prototyping (either as a Jupyter notebook or via command line).
For detailed information check out the Wiki Page