Skip to main content

Execute Python Script

Description#

This activity executes Python code, inputs the code directly in the activity, or provides a file path. It can only use inside the Python Scope activity.

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.

Example#