Tkinter - How to close one window whilst opening another window in Tkinter - Python 3 code example Example: python tkinter how to close a window root.destroy()