keypress.py on windows