I want to run a python script from UiPath Studio and save the result obtained from it in a variable. Followed various videos and the explanations on various sites but not able to do it. Please help me if anyone have any idea.
I have used the below flow:
Python Scope: Gave the Python 3.6 path saved in Environment variables and selected Python_36
Load Python Script: Select the path of the python file
Invoke Python Method: Gave the o/p of Load python in Instance and gave the method name
Get python Object: Gave the o/p of Invoke Python in Python Object and saved the result in variable
But I am getting the error in 2nd step itself: Load Python Script: Error loading Python script