How to change the look of Python operators?

PythonServer Side ProgrammingProgramming

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.

Published on 23-Apr-2018 14:49:00