--- title: "Execute Python Script" slug: "execute-python-script" updated: 2025-08-28T21:23:59Z published: 2025-08-28T21:23:59Z canonical: "documentation.decisions.com/execute-python-script" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Execute Python Script | ## Step Details | | --- | | **Introduced in Version** | 6.0.0 | | **Last Modified in Version** | 9.15.0 | | **Location** | Integration > Python | The **Execute Python Script** step allows users to execute Python scripts in a Flow. ### Prerequisites This step requires the Python module to be [installed](https://documentation.decisions.com/docs/installing-modules-decisions) before it will be available in the toolbox. Users in v9 will need to create a [Project dependency](https://documentation.decisions.com/docs/project-dependencies) as well. --- ## Properties #### Settings | Property | Description | Data Type | | --- | --- | --- | | Specify Python Path | Enabling this setting allows users to choose a custom Python executable by its file path. A field will appear beneath this setting when enabled that will allow the path to be entered. | Boolean | #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Parameters | Input parameters for the script file | List of String | | Script File | Python script file to execute | FileData | | Working Directory | The directory that is used to search for the executable and store generated files. If no values are entered, this location will point to: C:\Program Files\Decisions\Decisions Server | String | | | | | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Error | Displays the error message when executing the script file | String | | Success | Displays the output string of the executed script | String | --- ## Example Inputs and Outputs | Parameters | Script File | Working Directory | Output | | --- | --- | --- | --- | | Sam, Worth | example.py | Null | "Welcome Sam Worth" | | Tom | example.py | Null | "Welcome" | | Null | Null | Null | "File could not be null" | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1675089168634.png) --- ## Step Changes | Description | Version | Release Date | Developer Task | | --- | --- | --- | --- | | Added “Specify Python Path” property. | [9.15](https://documentation.decisions.com/v99/docs/version-915x-release-notes) | September 2025 | [DT-045372] | ## Related - [Script Form](/script-form.md)