how to get the title of a tkinter window code example
Example 1: change tkinter window name
windowName.title('Window Title')
#Example
import tkinter
window = tkinter.Tk()
window.title('My Title')
Example 2: set windows title in python
import ctypes
ctypes.windll.kernel32.SetConsoleTitleW("My New Title")