(key)
return win32api.GetKeyState(key) < 0
Check if a key is being pressed.
    Needs changing for something that detects keypresses in applications.
    Returns:
        True/False if the selected key has been pressed or not.
Check if a key is being pressed.
    Needs changing for something that detects keypresses in applications.
    Returns:
        True/False if the selected key has been pressed or not.
Check if a key is being pressed . Needs changing for something that detects keypresses in applications . Returns : True / False if the selected key has been pressed or not .
def get_key_press(key):
    """Check if a key is being pressed.
    Needs changing for something that detects keypresses in applications.
    Returns:
        True/False if the selected key has been pressed or not.
    """
    return win32api.GetKeyState(key) < 0
def get_key_press ( key ) : return win32api . GetKeyState ( key ) < 0