Python Activity : Invoke Python Method

Hi @Sukanya_Dutta ,
If you create .py file and run directly by double click then you can use Start process activity to call .py file. This will work for sure. But only disadvantage is that you can’t utilize any of variables generated by python engine in side the UiPath code.
Alternatively you can save results set on a notepad in Python code and read Python output by UiPath activities and utilize them.

Hope i am clear in my explanation.