Dear admirable author,
first, good work for the great book! It's easy to understand
and pleasant to read, but it seems I've spotted an error in chapter9
that may hinder the kids from learning about TK interface, so
I submit report as follow:
What steps will reproduce the problem?
1. type in the code on top of p84 (or 94 of 160)
2. execute the code
What is the expected output? What do you see instead?
it's expected to show a window with a button. But no
window show up actually.
What version of the product are you using? On what operating system?
python 3.x on windows, also tried python 2.6 (with little modification on
the code, ie. change tkinter to Tkinter)
Suggested solution:
by adding one more line of code (ie. tk.mainloop() ),
the code will run with no problem
Original issue reported on code.google.com by kwong999...@gmail.com on 3 Apr 2012 at 4:50
Original issue reported on code.google.com by
kwong999...@gmail.com
on 3 Apr 2012 at 4:50