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