get_screen_resolution

support.graphics.get_screen_resolution()

from https://stackoverflow.com/questions/3597965/ getting-monitor-resolution-in-python-on-ubuntu