listener.py
def keyboard_clicked(key):
    """
    Illustrating a geniune key press.
    :param key: Key that the user pressed.
    """
    # Checking the hotkey.
    try:
        if key.char == HOTKEY:
            press_letter(HOTKEY)
        elif key.char == HOTKEY.lower():
            press_letter(HOTKEY.lower())
    except AttributeError:
        pass

    Illustrating a geniune key press.
    :param key: Key that the user pressed.
    
Illustrating a geniune key press.
Illustrating a geniune key press .
def keyboard_clicked(key):
    try:
        if key.char == HOTKEY:
            press_letter(HOTKEY)
        elif key.char == HOTKEY.lower():
            press_letter(HOTKEY.lower())
    except AttributeError:
        pass
def keyboard_clicked ( key ) : try : if key . char == HOTKEY : press_letter ( HOTKEY ) elif key . char == HOTKEY . lower ( ) : press_letter ( HOTKEY . lower ( ) ) except AttributeError : pass
Illustrating a geniune key press.
Illustrating a geniune key press .
"""
    Illustrating a geniune key press.
    :param key: Key that the user pressed.
    """ # Checking the hotkey.

key
Key that the user pressed.
Key that the user pressed .