How to run Python Script?

Hello All,

Can you please help me how to run Python script in UiPath, as i used Python activity but unable to perform operation.

Regards,
Pankaj

well
Use python Scope and change the path
use load script and pass your script path and get output like OutScript
use Invoke Python Method and give input parameters and call your function and pass your script instance
and use get python Object!
cheers!
@Pankajsapkal07image

Please go through the following link :

Here you go with an example

Cheers @Pankajsapkal07

image
image

1 Like

Hi Palaniyappan,

Thanks for sharing the sample workflow. I updated the filepath to where my python 3.6.4 is installed… but it cannot work - “Error initializing python engine”. Please kindly advise if my python version of 64 bit cannot work in UiPath 2019.4.4?

Is there a way to work around it? Thank you!

Kindly Have a view on this discussion

Cheers @eagerlearner