python获取当前屏幕的分辨率

mac2022-06-30  23

import tkinter screen = tkinter.Tk() x = screen.winfo_screenwidth() #获取当前屏幕的宽 y = screen.winfo_screenheight() #获取当前屏幕的高 print(x,y) del win
最新回复(0)