Nov-13-2020, 03:18 AM
Hello!
I have been writing a program which listens for any keyboard input by the user. If specific combinations are input, certain tasks are performed, which need to happen as soon as the combinations are pressed. However, if no keyboard input is present for a period of time (say 10 seconds), the program will prompt the user to resume the activity.
I have tried this:
I have been writing a program which listens for any keyboard input by the user. If specific combinations are input, certain tasks are performed, which need to happen as soon as the combinations are pressed. However, if no keyboard input is present for a period of time (say 10 seconds), the program will prompt the user to resume the activity.
I have tried this:
def waiter():