def evaluate(self, expression, modules=None):
        modules = modules.replace(' ','').split(',') if modules else []
        namespace = dict((m, __import__(m)) for m in modules if m != '')
        try:
            return eval(expression, namespace)
        except:
            raise RuntimeError("Evaluating expression '%s' failed: %s"
                               % (expression, utils.get_error_message()))
Evaluates the given expression in Python and returns the results.
dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/libraries/BuiltIn.py/_Misc.evaluate