[Tutor] window graphics
Mark Tolonen
metolone+gmane at gmail.com
Fri Jul 3 17:10:45 CEST 2009
"David H. Burns" <dhburns at cherokeetel.net> wrote in message
news:4A4D65E5.3040004 at cherokeetel.net...
> Thanks, Alan,
>
> With the Python3.0, I have installed, he entry "from tkinter import *"
> doesn't produce any error message, but "tk = TK()" results in "NameError:
> 'TK' is not defined". Also for the word "canvas"
>
> As you suggest, I probably need to start with a 2.x version.
Python is case-sensitive. Try "tk = Tk()" and "Canvas".
-Mark
More information about the Tutor
mailing list