class_docstr: Return the output of a string evaluated/executed by the python interpreter.
  The string may be either an expression or a python script, and inputs are accessed as the name of the terminal. 
  For expressions, a single value may be evaluated for a single output, or a dict for multiple outputs.
  For a script, the text will be executed as the body of a function.
class_docstr_tok: ["Return","the","output","of","a","string","evaluated\/executed","by","the","python","interpreter",".","The","string","may","be","either","an","expression","or","a","python","script",",","and","inputs","are","accessed","as","the","name","of","the","terminal",".","For","expressions",",","a","single","value","may","be","evaluated","for","a","single","output",",","or","a","dict","for","multiple","outputs",".","For","a","script",",","the","text","will","be","executed","as","the","body","of","a","function","."]
code: def process(self, display=True, **args):
      l = locals()
      l.update(args)
      ## try eval first, then exec
      try:
          text = self.text.toPlainText().replace("\n", " ")
          output = eval(text, globals(), l)
      except SyntaxError:
          fn = "def fn(**args):\n"
          run = "\noutput=fn(**args)\n"
          text = (
              fn
              + "\n".join(
                  [
                      "    " + l
                      for l in self.text.toPlainText().split("\n")
                  ]
              )
              + run
          )
          ldict = locals()
          exec(text, globals(), ldict)
          output = ldict["output"]
      except:
          print(f"Error processing node: {self.name()}")
          raise
      return output
  
imports: import numpy
  from ...graphicsItems.LinearRegionItem import LinearRegionItem
  from ...Qt import QtCore, QtWidgets
  from ...widgets.TreeWidget import TreeWidget
  from ..Node import Node
  from .None import functions
  from .common import CtrlNode
label_desc: Use image node_id 5 for calling the EvalNode obj's underlying member method code with example usage: obj.process(display) and returns: output