Ah, good that they've renamed it to lowercase. Isn't there a convention to only
use a capital for class names? (and of course for constants, which are all
caps).
Cheers!!
Albert-Jan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All right, but apart from the sanitation, the medicine, education, wine, public
order, irrigation, roads, a fresh water system, and public health, what have
the Romans ever done for us?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>________________________________
>From: Alan Gauld <alan.ga...@btinternet.com>
>To: tutor@python.org
>Sent: Wednesday, November 9, 2011 1:26 AM
>Subject: Re: [Tutor] Another question about GUI applications.
>
>On 08/11/11 22:41, Steven D'Aprano wrote:
>> Nathaniel Trujillo wrote:
>>
>>> 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
>>
>> You have to import the Tkinter module first:
>
>
>And since you seem to be using Python v3 its spelled
>
>import tkinter
>
>in lowercase...
>
>Also:
>
>root = Tkinter.Tk()
>root.iconbitmap(default=ico_image_filename)
>
>ico_image_filename
>
>is a variable which you will need to define with
>a real filename.
>
>--
>Alan G
>Author of the Learn to Program web site
>http://www.alan-g.me.uk/
>
>_______________________________________________
>Tutor maillist - Tutor@python.org
>To unsubscribe or change subscription options:
>http://mail.python.org/mailman/listinfo/tutor
>
>
>
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor