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 capitalized. 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 - [email protected] > http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
