Activities
latest
false
About the Python Activities Package - Other latest
Banner background image
logo
Developer Activities
Last updated Jan 23, 2024

About the Python Activities Package

Important:
  • The Python activity pack has been made open-source. Feel free to collaborate on our Github repositories.
  • The Python activity pack is compatible with Python versions 3.11 and lower.

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.

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.

Python Scope supports the following Python versions:

  • For Windows - Legacy projects, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11.
  • For Windows projects, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11.
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.

Support and Services icon
Get The Help You Need
UiPath Academy icon
Learning RPA - Automation Courses
UiPath Forum icon
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.