from tkinter import* window = Tk() window.title("Window title") window.geometry("500x500") window.mainloop