After reading everything I can find on lambda expressions in Python, I still don't understand how to make it do what I want.
Everyone uses the example:
lambda x, y : x + y
Why do you need to state both x and y before the :? Also how do you make it return multiple arguments?
For example:
self.buttonAdd_1 = Button(self, text='+', command=lambda : self.calculate(self.buttonOut_1.grid_info(), 1))
This works just fine. But the following code does not:
self.entry_1.bind("<Return>", lambda : self.calculate(self.buttonOut_1.grid_info(), 1))
It yields the error:
TypeError: () takes no arguments (1 given)
returned.