
在Windows上:
from win32api import GetSystemMetricsprint("Width =", GetSystemMetrics(0))print("Height =", GetSystemMetrics(1))如果使用高分辨率屏幕,请确保你的python解释器为HIGHDPIAWARE。
欢迎分享,转载请注明来源:内存溢出

在Windows上:
from win32api import GetSystemMetricsprint("Width =", GetSystemMetrics(0))print("Height =", GetSystemMetrics(1))如果使用高分辨率屏幕,请确保你的python解释器为HIGHDPIAWARE。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)