Examples of ncurses on Python