Python Editor The Python editor is used to create, edit, and execute Python scripts. The editor is also used in model and diagram context, but unlike them, the code is not executed automatically. To execute the script, click the Run button.