in code how to create the title of tkinter window form the principle of changing the title of tkinter main root window is the same as what discussed in topic presented above here we create the main root window and give it title fig gui title changing the icon of the main root window we will use an icon that ships with python but you can use any icon you find useful place the following code somewher above the main event loop fig icon added to the main root window