code: def TK_message(title,msg):
      
      root = tkinter.Tk()
      root.withdraw() #hide tk window
      root.attributes("-topmost", True) #always on top
      root.lift() #bring to top
      tkinter.messagebox.showwarning(title, msg)
      root.destroy()
docs: use the GUI to pop up a message.