1 from tkinter import * 2 window=Tk() 3 # add widgets here 4 5 window.title('Hello Python') 6 window.geometry("300x200+10+20") 7 window.mainloop()