How to use python script in uipath

How to use python script in UiPath for example I want to add 2 number in python how to do that please help me with that.

1.Load Python Scope.

2.Load python script for i.e load and function which would add two number.

3.Invoke python method and pass the parameter or agrument to add two number and save result in variable.

4.Get python object to get result in variable.

Hi @Mahera_Khan ,

Check this video and make sure all required library should be in working folder in the scope.

Thanks,

Hi @Mahera_Khan

Open Manage Packages → All Packages → Search UiPath.Python.Activities → Install. Then use Load Python Script to load .py file, Invoke Python Method to call function, and Get Python Object to get output.

For more pls check below link,

If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath

@Mahera_Khan

First python libraries are to be installed in studio

A compatible version of python and .netruntime on machine

Then you can invoke..a complete guide is here

Cheers

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