📜  tkinter taille de l'ecran - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:48.354000             🧑  作者: Mango

代码示例1
import tkinter as tk

root = tk.Tk()

screen_width = root.winfo_screenwidth()
screen_height = root.winfo_screenheight()