<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Ah, good that they've renamed it to lowercase. Isn't<VAR id=yui-ie-cursor></VAR> there a convention to only use a capital for class names? (and of course for constants, which are all caps).<BR style="RIGHT: auto" class=yui-cursor></SPAN></div>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<div>Cheers!!<BR>Albert-Jan</div>
<DIV></DIV><BR><BR>
<DIV>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>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?<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><FONT size=2 face=Arial>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr contentEditable=false readonly="true"></DIV><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Alan Gauld &lt;alan.gauld@btinternet.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> tutor@python.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, November 9, 2011 1:26 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Tutor] Another question about GUI applications.<BR></FONT><BR>On 08/11/11 22:41, Steven D'Aprano wrote:<BR>&gt; Nathaniel Trujillo wrote:<BR>&gt;<BR>&gt;&gt; Traceback (most recent call last):<BR>&gt;&gt; File "C:\Python31\mad_lib.py.py", line 112, in &lt;module&gt;<BR>&gt;&gt; root = Tkinter.Tk()<BR>&gt;&gt; NameError:
 name 'Tkinter' is not defined<BR>&gt;<BR>&gt; You have to import the Tkinter module first:<BR><BR><BR>And since you seem to be using Python v3 its spelled<BR><BR>import tkinter<BR><BR>in lowercase...<BR><BR>Also:<BR><BR>root = Tkinter.Tk()<BR>root.iconbitmap(default=ico_image_filename)<BR><BR>ico_image_filename<BR><BR>is a variable which you will need to define with<BR>a real filename.<BR><BR>-- <BR>Alan G<BR>Author of the Learn to Program web site<BR>http://www.alan-g.me.uk/<BR><BR>_______________________________________________<BR>Tutor maillist&nbsp; -&nbsp; <A href="mailto:Tutor@python.org" ymailto="mailto:Tutor@python.org">Tutor@python.org</A><BR>To unsubscribe or change subscription options:<BR>http://mail.python.org/mailman/listinfo/tutor<BR><BR><BR></DIV></DIV></BLOCKQUOTE></DIV></div></body></html>