Answers for "how to get lenght of screen in python"

11

get screen size python

>>> import pyautogui

>>> width, height= pyautogui.size()

>>> print(width)
1366

>>> print(height)
768
Posted by: Guest on July-16-2020
1

python get screen size

from win32api import GetSystemMetrics

print("Width =", GetSystemMetrics(0))
print("Height =", GetSystemMetrics(1))
Posted by: Guest on May-08-2021

Code answers related to "how to get lenght of screen in python"

Python Answers by Framework

Browse Popular Code Answers by Language