(self)
return select.select([sys.stdin], [], [], 0)[0] != []
Return whether a character is ready to be read from the keyboard.
Return whether a character is ready to be read from the keyboard.
Return whether a character is ready to be read from the keyboard .
def key_pressed(self):
        """Return whether a character is ready to be read from the keyboard."""
        return select.select([sys.stdin], [], [], 0)[0] != []
def key_pressed ( self ) : return select . select ( [ sys . stdin ] , [ ] , [ ] , 0 ) [ 0 ] != [ ]