Re: [Tutor] Problems with Calculator Program

2008-10-30 Thread Luke Paireepinart
Seems like when they press "op" you assume that the current number is done being executed and save the value. Then when they press another op, you evaluate the previous op with the new value. You don't update the display until they start typing again. However, when they press =, you evaluate the

[Tutor] Problems with Calculator Program

2008-10-30 Thread Richard Lovely
Hi, I'm trying to teach myself Tkinter by making a desktop calculator. I've got the Tkinter bit working, but getting the output to work how I want it to is causing serious brainfreeze... The buttons 0 through 9 and '.' all append to a queue, which makeNumber(queue) returns as an actual python nu