Skip to main content

Load Python Script

Description

This activity converts Python code to a PythonObject variable.

Design Time Configuration

This activity enables you to configure the design-time script setup by either selecting a script file or entering the script directly.

Python Version

  • Click the Browse (...) button to select a Python script file.
    OR
  • Enter the script directly within quotation marks in the input field.

Properties

Input

  • Code – It specifies the Python code to run. It supports only strings and String variables.
  • File – It specifies the file path containing the Python code to run. It supports only strings and String variables.

Misc

  • DisplayName – Add a display name to your activity.
  • Private – By default, activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.

Output

  • Result – Result returned by Python script