activities
latest
false
- Overview
- Cryptography
- Database
- Java
- Python
- WebAPI
About the Python activity package
Developer Activities
Last updated Sep 12, 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, enabling you to use the activities within it.
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 assign the code from any
file containing a Python script to a PythonObject
. You can also convert it to
a .NET data type by using the Get Python Object activity. This powerful variable lets
you run scripts, extract .NET types, or invoke Python methods with activities designed for
each task.