On Windows,the standard Python library module msvcrt offers the handy getch such platforms,we can get the same functionality with the tty and termios modules The key point is that in application-level code,we should never have to worry .