UiPath Activities Guide

About the Python Activities Pack

The purpose of this pack is to enable you to invoke Python scripts and methods in any workflow directly from our product. You can also pass input arguments to the invoked code, as well as retrieve the output data generated by the activities.

Note:

The Python Activities Pack works only with 32-bit Python scripts.

The Python Scope container activity connects to the Python environment installed on the machine and enables you to use the rest of the activities within itself.
The PythonObject variable is specially designed to handle and manipulate Python data. By using the Load Python Script activity, you can easily assign the code from any file containing a Python script to a PythonObject and you can also convert it to a .NET data type by using the Get Python Object activity.
With this powerful variable at hand, you can run scripts, extract .NET types or invoke Python methods by using the dedicated activities for each of these tasks.

About the Python Activities Pack