Skip to content

Python script for clearing the downloads folder being invoked from UiPath.

Notifications You must be signed in to change notification settings

Klaus-in-Tech/uipath-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python script for clearing the downloads folder being invoked from UiPath.

Resources

Stars

Watchers

Forks