pyHelloWorld

 

<< Click to Display Table of Contents >>

Navigation:  Nodes > Tasks > Python Templates >

pyHelloWorld

 

 

Purpose

 

A very basic Python example to just print  "hello world"  in the Script Editor console. This example creates a simple task node with no inputs or outputs.

 

 

Standard properties

 

Object Name

Color

 

Python standard properties

code

Schema name

 

NOTE: An introduction to all the Python tools in Mistika Workflows is available in the Python scripting tools section.

 

 

Node specific properties

 

Code: This example creates a Task with one input and one output.  On execution, it sends to the output the file name connected to the input (if any).  

 

def init(self):

return True

 

def isReady(self):

return True

 

def process(self):

self.info("HelloWorld","Hello World")

return True

 

 

Additional documentation:

 

An introduction to all the Python tools in Mistika Workflows is available in the Python scripting tools section.

 

Information about library extension is available in the Mistika Python Extension Library

https://www.sgo.es/doc/python/

 

 

 

Developer reference (Python - pyHelloWorld.[Property ID], API Rest - node/pyHelloWorld/property/[Property ID])

 

Property Label

Property ID

Schema Name

schemaName