[Tutor] Problems with Python 3 and Tkinter

Peter Anderson peter.anderson at internode.on.net
Sat Feb 21 14:05:57 CET 2009


By George I think I've done it!!!

I was looking (yet again) through the Python 3 documentation and have 
changed the calculator.py script to:

from tkinter import *
from tkinter.messagebox import showerror
from math import sqrt
...

And it now works! I would still appreciate any help with trying to 
understand how tkinter and its modules are used. For example, exactly 
what modules are able to be used?

Regards,
Peter
-- 
*Peter Anderson*
There is nothing more difficult to take in hand, more perilous to 
conduct, or more uncertain in its success, than to take the lead in the 
introduction of a new order of things—Niccolo Machiavelli, /The Prince/, 
ch. 6


More information about the Tutor mailing list