I would like to define my own operator. Does python support such a thing?
Solution
No, you can't create new operators. However, if you are just evaluating expressions, you could process the string yourself and calculate the results of the new operators.