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
12 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 5,680 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
• 5,440 points
22 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
• 2,520 points
40 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
• 2,520 points
34 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,100 points
84 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
• 5,440 points
57 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
• 5,680 points
211 views
0 votes
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
• 2,520 points
279 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.