Answers for "python get screen size raspberry pi"

0

python get screen size raspberry pi

from screeninfo import get_monitors
screen = get_monitors()[0]

# if that raises an error, try using this first
# from os import environ
# environ['DISPLAY'] = ':0.0'

print(screen)
Posted by: Guest on June-08-2021

Python Answers by Framework

Browse Popular Code Answers by Language