Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
ExecuteClassMethodOnServer(className, methodName, parameters)

className = name of the class in the remote project.
methodName = name of the method in the remote class.
parameters = if any, necessary to the invoke the remove method.


...

Example

In the The sections below there are details on the contain different ways to use Python in a project. 

Using Namespace in CodeBehind

...

Using Tasks

In this scenario, we configure a task for the Python language. In the Python file name field, you need to set the which Python file to be executed. In this example, we used the Main2.py.



In the Standard Output field, we put selected a Tag tag called output. This Tag tag type must be Texttext. In the Arguments fields type another Tag Arguments field, we selected another type of tag called script.

The Python file called Main2.py gets the input data and outputs its value inside a string, using the print method. Where the sys.argv will receive the Tag.script and the output tag will receive all the values from print() method.

...