SyntaxFix
Write A Post
Hire A Developer
Questions
Taken directly from an answer to this post: How to get the screen size in Tkinter?
import tkinter as tk root = tk.Tk() screen_width = root.winfo_screenwidth() screen_height = root.winfo_screenheight()