Set or query the title for the window, which the window manager should display in the window’s title bar. With no argument, return the current title. The title defaults to the window’s name. wm_title() is an alias of title().
tkinter/Wm.title
Wm.title