Python

  • Using python nodes, you can directly execute python scripts. For python nodes, workers will use python ** to submit tasks.

Drag in the toolbarPNGThe task node to the drawing board, as shown in the following figure:

Python - 图2

  • Script: Python program developed by the user
  • Resources: refers to the list of resource files that need to be called in the script
  • User-defined parameter: It is a local user-defined parameter of Python, which will replace the content with ${variable} in the script
  • Note: If you import the python file under the resource directory tree, you need to add the init.py file