NCURSES Programming HOWTO for Python