<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def keyPress(self, key):
 """ Send a key press to the server key: string: either [a-z] or a from KEYMAP """

        log.debug('keyPress %s', key)
        self.keyDown(key)
        self.keyUp(key)

        return self