<br><br><div class="gmail_quote">On Thu, Aug 26, 2010 at 7:44 PM, Corey Richardson <span dir="ltr">&lt;<a href="mailto:kb1pkl@aim.com">kb1pkl@aim.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Why don&#39;t you try it out without the &quot;from tkinter import ttk&quot; statement, and see if it works?<br>
<br>
Bill Allen wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
I was experimenting with Tk today, just trying it out.   I found this example of a very simple &quot;hello world&quot; button click program.  This is it.<br>
<br>
from tkinter import *<br>
from tkinter import ttk<br>
<br>
root = Tk()<br>
button = ttk.Button(root, text=&quot;Hello World&quot;).grid()<br>
root.mainloop()<br>
What I don&#39;t understand is why it is necessary to run that import statement twice.  Shouldn&#39;t import * bring everything in from tkinter?<br>
<br>
<br>
Just wondering,<br>
<br>
Bill Allen<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Tutor maillist  -  <a href="mailto:Tutor@python.org" target="_blank">Tutor@python.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
  <br>
</blockquote>
</blockquote></div><br>