Welcome to the Alteryx Knowledge Base

Python tool in version 2026.1
user

Created/Edited - 7/20/2026 by Clara Boo | Alteryx

Question

What has changed in the Python tool in version 2026.1?

 

Environment
  • Alteryx Designer
    • Version >= 2026.1

 

Answer

What has changed?

 

The Python tool in versions before 2026.1 comes with two modes: interactive and production. The interactive mode is where you write your Python code in Jupyter Notebook. Once the script is completed and tested successfully, the recommendation is to switch to production mode, where the standard Python interpreter is used for execution.

 

Screenshot of the Python tool in older versions

 

 

From version 2026.1 onwards, the interactive mode in the Python tool is no longer available. With this change, the code editor is no longer Jupyter Notebook and is no longer interactive. Cell-based execution and any Jupyter Notebook features (such as interactive debugging and magic commands) will not be available. The Python interpreter will be the standard Python interpreter. The IPython kernel interpreter used by Jupyter Notebook will not be used.

 

Screenshot of the Python tool in version 2026.1

 

 

 

 

 

Feature changes at a glance

 

 < Version 2026.1 >= Version 2026.1
Interactive Mode (Jupyter Notebook)YN
iPython Kernel InterpreterYN
Standard Python InterpreterYY
Python Version 3.13NY
Magic Commands (%time, %run, %pwd, etc)YN

Shell Escape (!)

Example:

!pip install logger

YN

 

NOTE: The last two items in the table above are features available in Jupyter Notebook. Since Jupyter Notebook is no longer used, these features, including other Jupyter Notebook features, will no longer be available. Therefore, if you have an existing Python script that uses these, you will need to find an appropriate replacement for them. The Python tool will fail to execute successfully with these features.

In addition, there may be libraries or functions that will only run in Jupyter Notebook. Please do check your script.

 

What will happen to the Script in the Interactive Mode?

 

When you open a pre-2026 workflow containing a Python tool, a new production mode script will be created from the interactive mode if:

  • The script mode is interactive, and
  • The Disable Auto Configure user setting (Options > User Settings > Edit User Settings > General) is not set to true. The value is false by default.

 

 

 

Example of a production mode script created from interactive mode

 

 

If the Disable Auto Configure user setting is set to true, the production mode script will not be created, and you will see an empty code editor like below.

 

 

In some cases, you may also see the script even though the Disable Auto Configure user setting is true. What you see here is the production mode script saved previously when switching from the Interactive mode to the production mode. If you have switched back to Interactive mode and updated the script without syncing back to the production mode, the loaded script will be outdated. 

 

Use the <F5> key to refresh the tool configuration so that the production mode script will be created or updated if there is a previous production mode script.

 

NOTE: Once the script has been converted from interactive mode to production mode, the script will be loaded regardless of the value of the Disable Auto Configure user setting.

 

Here's a summary of what is expected when opening a pre-2026 workflow containing a Python tool with the Disable Auto Configure user setting set to false:

 

Is Interactive Mode Script Available?Is Production Mode Script Available?ModeGenerate Production Mode Script
YYProductionNUse the existing production script
YYInteractiveYGenerate a new production mode script from the interactive mode script.
YNInteractiveYA new production mode is created. 

 

Is the Python tool in version 2026.1 compatible with the pre-2026?

 

Opening a workflow containing a Python tool saved in version 2026 in a pre-2026 Designer will only load the production mode script and this script is not editable in production mode.

 

 

Switching to the interactive mode will throw an error similar to the screenshot below. No Jupyter Notebook document will be loaded. 

 

 

NOTE:

  • Switching back to production mode will lose the script. To prevent losing the script, close the workflow without saving it.
  • If there is a need to edit the script, please copy the script in production mode first. Add a new Python tool and paste the script in the interactive mode.

 

There may be instances where you can switch back to interactive mode from a 2026-saved workflow without an error. This happens if the workflow was previously created in pre-2026, and

  • contained a script in both interactive and production mode,
  • with the mode set to production.

In this case, a new production mode script was not created, and the interactive mode script was not removed in version 2026. The loaded interactive mode script, however, may not be up-to-date if there was any script modification in version 2026. To prevent any script loss, copy the script in Production mode before switching to interactive mode and replace the script in interactive with the one in production mode.

 

 

 

Was this article helpful?