- Python installation strictly
Python 3.7
orPython 3.8
.
- Install
UiPath.Python.Activities
package. - Navigate to the Activities Panel and type in python.
- Select the
Python Scope
,Load Python Script
,Invoke Python Method
Activities.
- In the path property - Provide the python path variable for example
C:\path\to\AppData\Local\Programs\Python\Python38\
. - In the target property - Select the target
x32
orx64
. - In the version property - Select the python version
3.7
or3.8
orAuto
.
- In the File property - Fill in the path to your python script.
- In the Result property - Create the Python Object variable.
- In the InputParameters - Provide input parameters if any.
- In the instance property - Provide the Python Object from the Load Python Activity.
- In the Name property - Provide your python method name.
For this demo, I used a python script that clears your downloads folder free feel to give it a test run.