Activities
latest
false
Banner background image
Developer Activities
Last updated Mar 15, 2024

About the Python activity package

Important:
  • The Python activity package has been made open-source. Feel free to collaborate on our Github repositories.
  • The Python activity package is compatible with Python versions 3.12 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, 3.12.
  • For Windows projects, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12.
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.

Was this page helpful?

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