def ev(self, expr):
    'Evaluate python expression expr in user namespace.\n\n        Returns the result of evaluation\n        '
    with self.builtin_trap:
        return eval(expr, self.user_global_ns, self.user_ns)
Evaluate python expression expr in user namespace.

Returns the result of evaluation
def ev(self, expr):
    'Evaluate python expression expr in user namespace.\n\n        Returns the result of evaluation\n        '
    with self.builtin_trap:
        return eval(expr, self.user_global_ns, self.user_ns)