I'm really new to Python. But anyway, what I'm trying to do is something like the shell command read -sn 1
in Python.
Right now, I'm using key = input():
to get a key press, but you have to press enter in order to send it.
Is there a way to automatically send it after one key is pressed?