I have a script where I want to use a message box for the occasional interactive question
# python 3.1 from tkinter import * from tkinter import ttk from tkinter import messagebox answer = messagebox.askyesno(message="Are you thinking of the " + "data " + "?" ,icon='question' ,title="My guess"
when I run this, I get the message box. I also get a blank tk window, which does not disappear when the message box is dismissed. Is there any way to avoid this?