[Tutor] tkSimpleDialog, Tkinter, and IDLE

Ryan silas428 at gmail.com
Mon Feb 18 19:42:14 CET 2008

I don't know anything about tkSimpleDialog, but when you try "import
tkinter", make sure it's "import Tkinter". The "T" in Tkinter must be
On Mon, 2008-02-18 at 07:09 -0800, Wayne Watson wrote:
> Is tkSimpleDialog really a part of Tkinter? The reason I ask is that it seems to be neglected in material on Tkinter.   For example, in <http://infohost.nmt.edu/tcc/help/pubs/tkinter/> by Shipman. Further, I sometimes see code that has:
> from tkinter import *
> import tkSimpleDialog
> The from gets all the names, functions too, so why is it importing the name tkSimpleDialog. Hasn't it just been obtained with from?
> When I enter import tkinter into IDLE, it objects. However, if I run a program in idle that imports it, then all is OK. What's up there?
> -- 
>            Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
>              (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
>               Obz Site:  39° 15' 7" N, 121° 2' 32" W, 2700 feet
>               "I know that this defies the law of gravity, but 
>                you see, I never studied law." -- Bugs Bunny
>                     Web Page: <www.speckledwithstars.net/>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor

More information about the Tutor mailing list