Is there a way to eval the comparison where the comparison operator is passed as string. without doing alot of if-else's. F.e.
 def cmp(arg1, op, arg2) : ......
and then :
 cmp(5, "==", 6)
 cmp(7, ">", 6)
 cmp(12, "<=", 34)
 cmp("abc", "==", "bad")
 
    