pythonexprs expression function
Evaluates a Python expression, returning a string result.
See also: python, pythonexprf
Usage
pythonexprs(expression)
If the expression evaluates to something other than a string, this function returns its string representation (i.e. the output from Python’s str() function).
Note
If the expression generates an exception, this function returns the string representation of the exception.
Examples
pythonexprs("hou.node('/obj').children()")
Returns the string representation of a tuple containing the hou.ObjectNode objects in /obj.