from pygame import ( init as pg_init, quit as pg_quit) from time import sleep from display import Display def main(): pg_init() d = Display() sleep(4) pg_quit() main()