Some playing with python and ncurses