infoObject = pygame.display.Info() pygame.display.set_mode((infoObject.current_w, infoObject.current_h))