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

1 Like

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

1 Like

Please go through the following link :

1 Like

Here you go with an example

Cheers @Pankajsapkal07

1 Like

image
image

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!

1 Like

Kindly Have a view on this discussion

Cheers @eagerlearner

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.