That change got the same result. Maybe this will make it all clearer.root = Tk()When the prompt appears, there is a small window showing on the screen, 2x2", I guess. It shows in the upper left a Tk icon on the title bar, and next to it in light gray tk, lower case. It persists when I press Cancel or OK. My guess is that dialog needs to be "connected" to that root window. I tried with a frame, but that didn't do it. That pretty much does it for me. I can live with it for my purposes if I stick to the command window, which nicely closes when I hit OK. IDLE forces a hang in the shell window, which requires effort to recover. The Tk window appears in using either command prompt or IDLE. Alan Gauld wrote:
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time) “Life is one damn thing after another." -- Mark Twain |
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor