def send_key(self, key, repeat=<NUM_LIT:1>):
for _ in range(repeat):<EOL><INDENT>self.mediator.send_key(key)<EOL><DEDENT>self.mediator.flush()<EOL>
Send a keyboard event

Usage: C{keyboard.send_key(key, repeat=1)}

@param key: they key to be sent (e.g. "s" or "<enter>")
@param repeat: number of times to repeat the key event