1

With this code, I am trying to get my screen resolution 3840 x 2160

from win32api import GetSystemMetrics

print("Width =", GetSystemMetrics(0))
print("Height =", GetSystemMetrics(1))

And I get

Width = 1280
Height = 720
ivan_pozdeev
  • 33,874
  • 19
  • 107
  • 152
YuSinn
  • 21
  • 3

0 Answers0