Re: [Tutor] python programmin problem

2016-07-23 Thread Danny Yoo
On Thu, Jul 21, 2016 at 11:30 PM, Alan Gauld via Tutor wrote: > > Forwarding to list. Please use reply-all when responding to tutor messages. > > As Danny suggested this is quite a complex problem. I wasn't sure whether > it was just the programming or the bigger algorithm issue you were stuck on.

[Tutor] Variable in tkinter?

2016-07-23 Thread Jim Byrnes
I have been working my way through a Python 3 book and got to the chapter on tkinter. The following is a segment of a example program that works: # the views frame = tkinter.Frame(window) frame.pack() button = tkinter.Button(frame, text='Up', command=click_up) button.pack() button = tkinter.But

Re: [Tutor] Variable in tkinter?

2016-07-23 Thread R. Alan Monroe
> button = tkinter.Button(frame, text='Up', command=click_up) > button = tkinter.Button(frame, text='Down', command=click_down) > when I first looked at it I thought it would not work, thinking that the > second reference to button = would over write the first one. It DOES overwrite it, in this