window = tk.Tk() w, h = window.winfo_screenwidth(), window.winfo_screenheight() window.geometry("%dx%d+0+0" % (w, h))