Python Tkinter Button Command Partial Derivative Rules E