import sys import pygame import pygame.locals as pgl class Test: def __init__(self): pygame.init() self.flags = pygame.FULLSCREEN | pygame.NOFR