I am not sure what to call this so please bear with me.
Right now I have a class / object where I overloaded the multiplication operator def __mul__(self, secondthing):
and so if I do myObject * 4
it knows what to do with it.
But it doesn't know what to do if I do 4 * myObject
, the other way around.
You could implement
__rmul__
.