def try_to_eval(value):
 try:
  return eval(value)
 except (NameError, SyntaxError, ImportError):
  return value

def try_to_eval ( value ) : try : return eval ( value ) except ( NameError , SyntaxError , ImportError ) : return value
try to eval value .