def getScreenSizePix(screen=0):
 if importCtypesFailed:
  return False
 scrID = getScreen(screen)
 h = cocoa.CGDisplayPixelsHigh(scrID)
 w = cocoa.CGDisplayPixelsWide(scrID)
 return [h, w]

def getScreenSizePix ( screen = 0 ) : if importCtypesFailed : return False scrID = getScreen ( screen ) h = cocoa . CGDisplayPixelsHigh ( scrID ) w = cocoa . CGDisplayPixelsWide ( scrID ) return [ h , w ]
return the height and width of the given screen .