Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.82 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.82 KB

Invoking Python Script in UiPath

Prerequisities

  • Python installation strictly Python 3.7 or Python 3.8.

How to setup in UiPath Studio

  • 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.

Python Scope Acivity Properties setup

  • 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 or x64.
  • In the version property - Select the python version 3.7 or 3.8 or Auto.

image

Load Python Script Acivity Properties setup

  • In the File property - Fill in the path to your python script.
  • In the Result property - Create the Python Object variable.

image

Invoke Python Method Properties setup

  • 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.

image

User Manual for this demo

For this demo, I used a python script that clears your downloads folder free feel to give it a test run.

Author

Feel free to connect with me on my socials as listed above. 😊