Which all activities comes under Python Activities pack and what they are used for?

0 votes
Which all activities comes under Python Activities pack and what they are used for?
Apr 9 in RPA by Jasmine
155 views

1 answer to this question.

0 votes

Hey @Jasmine, the Python Activities pack enables you to invoke Python scripts and methods in any workflow directly. You can also pass input arguments to the invoked code, as well as retrieve the output data generated by the activities. Now, the activities which comes under Python Activities pack are as follows:

  • Python Scope:
    UiPath.Python.Activities.PythonScope

    It is a container which provides a scope for Python activities and initializes the specified Python environment. When the Python Scope activity ends, all Python objects loaded up to that point are deleted.

  • Get Python Object:
    UiPath.Python.Activities.GetObject<System.Object>

    This activity converts a Python.Object variable returned by other Python activities such as Load Python Script into a .NET datatype of your choice. Can only be used inside the Python Scope activity.

  • Invoke Python Method:
    UiPath.Python.Activities.InvokeMethod

    It helps you run a specified method from a Python script directly in a workflow. The script that contains the method needs to be loaded into the environment first by using the Load Python Script activity. Can only be used inside the Python Scope activity.

  • Load Python Script: 
    UiPath.Python.Activities.LoadScript

    This activity enables you to store the handlers of a Python script in a PythonObject variable. You can use the resulting variable to invoke the methods within the code. If there is inline code besides the methods present in the script, the code is also executed at runtime. Can only be used inside the Python Scope activity.

  • Run Python Script:
    UiPath.Python.Activities.RunScript

    Enables you to execute Python code. You can input the code directly in the activity or provide a file path for it. Can only be used inside the Python Scope activity.

answered Apr 9 by Anvi
• 13,960 points

Related Questions In RPA

0 votes
1 answer

What are Machines in orchestrator and what they are used for?

Hi @Nibha, Machines enables you to provision and ...READ MORE

answered Apr 5 in RPA by Abha
• 27,180 points
378 views
0 votes
1 answer

What Java Activities pack is used for in UiPath Studio?

Hello Erik, the Java Activities Pack contains ...READ MORE

answered Apr 9 in RPA by Pratibha
• 3,680 points
305 views
0 votes
1 answer

What is Terminal Activities pack and how it can be used in UiPath studio?

Hello Lalit, the Terminal pack contains activities ...READ MORE

answered Apr 9 in RPA by Pratibha
• 3,680 points
392 views
0 votes
1 answer

What are the general requirements of RPA for front and back office processing?

Well, the fact is RPA is well-known ...READ MORE

answered Jan 17 in RPA by DataKing99
• 8,130 points
352 views
0 votes
1 answer
0 votes
1 answer

What is Get Jobs activity used for in UiPath Studio?

Hey @Rakesh, Get Jobs Activity can be ...READ MORE

answered Mar 13 in RPA by Abha
• 27,180 points
449 views
0 votes
1 answer

How to format text in notepad using UiPath?

Hey @Rashmi, if you want to automate ...READ MORE

answered Mar 18 in RPA by Anvi
• 13,960 points
1,288 views
+1 vote
1 answer

How can I display current date in "dd-MMM-yy" format in UiPath Studio?

Hi Shilpa, if you want to display ...READ MORE

answered Mar 18 in RPA by Pratibha
• 3,680 points
4,476 views
0 votes
1 answer