"billie" <[EMAIL PROTECTED]> wrote: > >> Look at curses. > >I was searching for something portable on multiple platforms.
Keyboard access is not portable. It is quite system-specific, even in C. >Curses doesn't work on Windows. Sure it does. You can find curses implementations for Windows. However, it depends on what you are planning to do. If all you want to do is wait for one character and print it, it's not too hard to have separate schemes for separate systems: C:\Data\PyTools>python Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import msvcrt >>> msvcrt.getch() '\x1b' >>> (I pressed "escape" after the second "enter".) -- - Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list