1 2 3 | import wx wx.App(False) print wx.ClientDisplayRect() |
参考:
再给一个for windows only的:
1 2 | for monitor in win32api.EnumDisplayMonitors(None, None): print (win32api.GetMonitorInfo(monitor[0])) |
Blog of ZCW 亦·德利菲的小窝
1 2 3 | import wx wx.App(False) print wx.ClientDisplayRect() |
参考:
再给一个for windows only的:
1 2 | for monitor in win32api.EnumDisplayMonitors(None, None): print (win32api.GetMonitorInfo(monitor[0])) |