The getch module

The getch module provides functions to read one single char from standard input without waiting for a newline.

getch()

getch() reads a single char from stdin and returns it. Note that the user will not be able to see the character when he types it. Use getche() instead if this is desired

getche()

getche() reads a single char from stdin and returns it, like getch(). However, it is also printed to the screen so the user will be able to see what he types.