What is the simplest way to get monitor resolution (preferably in a tuple)?
And for completeness, Mac OS X
import AppKit [(screen.frame().size.width, screen.frame().size.height) for screen in AppKit.NSScreen.screens()]
will give you a list of tuples containing all screen sizes (if multiple monitors present)