How to change the look of Python operators?



Python and most mainstream languages do not allow changing how operators look.

If you're trying to replace something like a == b with a equals b, you can't do that. In Python the restriction is quite intentional — an expression such as a equals b would look ungrammatical to any reader familiar with Python.

Sai Subramanyam
Sai Subramanyam

Passionate, Curious and Enthusiastic.


Advertisements