code: def on_sdl_keydown ( self, event ):
  		"press ESCAPE to quit the application"
  		key = event.key.keysym.sym
  		if key == SDLK_ESCAPE:
  			self.running = Falsf on_sdl_keydown ( self, event ):
  		"press ESCAPE to quit the application"
  		key = event.key.keysym.sym
  		if key == SDLK_ESCAPE:
  			self.running = False
docs: press ESCAPE to quit the application