vector - Adding a new binary operator to Python 3 -


i use operator such 'x' give cross-product of 2 vectors. there way add such operator python 3?

you cannot supplement python's set of operators , statements directly in python code. however, can write wrapper uses python's language services write pythonesque dsl includes operators want.


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -