import tkinter as tk root = tk.Tk() root.attributes('-fullscreen', True) root.mainloop()