def TK_message(title,msg):
root = tkinter.Tk()<EOL>root.withdraw() <EOL>root.attributes("<STR_LIT>", True) <EOL>root.lift() <EOL>tkinter.messagebox.showwarning(title, msg)<EOL>root.destroy()<EOL>
use the GUI to pop up a message.