from tkinter import * root = Tk() root.title("Title of the GUI") root.geometry("500x400") # (length x width) root.pack() root.mainloop()