Yes, printNumber(self, number) is what I meant. That worked fine, thanks very much for your help. I'm amazed at how quick Python Tkinter development is, although I expect that's a common response. Peter