On Apr 9, 6:55 pm, Soumen banerjee <soume...@gmail.com> wrote: > Hello, > I am writing a little program where i have an array the elements of > which i want to display upon keypresses by the user. The only way on > linux seems like using getch() from the curses library. I wanted a > simpler solution than having to use curses for such a simple thing. > any ideas? > Regards > Soumen
A more "natural" solution - within Linux - would be to use the termios library functions. Simple, no curses necessary. HTH... -f -- http://mail.python.org/mailman/listinfo/python-list