def TK_ask(title,msg):
root = tkinter.Tk()<EOL>root.attributes("<STR_LIT>", True) <EOL>root.withdraw() <EOL>result=tkinter.messagebox.askyesno(title,msg)<EOL>root.destroy()<EOL>return result<EOL>
use the GUI to ask YES or NO.