[Tutor] Another question about GUI applications.

Nathaniel Trujillo hothottrott at gmail.com
Tue Nov 8 23:37:59 CET 2011


I tried the code you suggested and I got the following error message.

Here is the code I tried.

root = Tkinter.Tk()
root.iconbitmap(default=ico_image_filename)

And here is the error message.

Traceback (most recent call last):
  File "C:\Python31\mad_lib.py.py", line 112, in <module>
    root = Tkinter.Tk()
NameError: name 'Tkinter' is not defined

Thanks for the help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111108/04cb3b98/attachment-0001.html>


More information about the Tutor mailing list