Python获取屏幕分辨率
import tkinter as tk
screen = tk.Tk()
width = screen.winfo_screenwidth()
height = screen.winfo_screenheight()