RCA.Activities.Python.LoadScript

Description

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. This activity only can be used in Python Scope activity.

load script.jpg

(* is mandatory)

Properties

Input

  • Code (String) - The code you want to execute. String supported only.
    Eg: “print('Hello, world!')”
  • Script File (String) - The file path of the Python script.
    Eg: “C:/PythonCode/hello.py”

    Either Code filed or Script File field needs to be filled.

Misc

  • Public (Checkbox) - Check if you want to publicize it. Remember to consider data security requirements before using it.
  • Display Name (String) - The name of this activity. You can edit the name of the activity to organize and structure your code better.
    Eg: Load Python Script.

Output

  • Result (PythonObject) - The handlers for the specified Python script, are stored in a PythonObject variable.

Table of Content

Tags:
 
Navigation