Unable to execute python script (version- 3.8.8)

Hi,

I’m not able to execute the python script in UiPath but in VS code it’s running fine.
PFA attached script.
When using run python script activity it’s running completely without any error but not giving output as expected.
Also tried by load python script but in Invoke Python Method getting error as “Invoke Python Method: One or more errors occurred. (Error invoking Python method)”.

Please suggest me some solution.
Thanks in advance.
Demo.py.txt (2.0 KB)

@Ashish_Kina,

Try following this approach.

Thanks,
Ashok :slight_smile: