import tkinter as tk # Create an instance of the Tk class (root window) window = tk.Tk() # Add widgets and functionality to the window # Start the event loop for application execution window.mainloop()