@contextmanager
    def tempdir(self):
        dir = self.path(mkdtemp())  # @ReservedAssignment
        try:
            yield dir
        finally:
            dir.delete()
Interpret the character that the pygame.event.Event object passed as keyEvent represents, and perform the associated action. These actions could be adding another character to the buffer, or manipulating the cursor position (such as when the arrow keys are pressed).
dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/machines/local.py/LocalMachine.tempdir--crossover with--dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py/PygcurseInput.sendkeyevent