On Thu, Aug 20, 2009 at 9:06 AM, Steven Woody<narkewo...@gmail.com> wrote: > Hi, > I wrote a program that takes some user input. Many inputs are quit often > used by user, so when a user launch the program, and type in "The Sha", he > wants to get "wshank Redemption" displayed automatically in reversed color > (black text on white background) along his cursor. When he decided to use > "The Shawshank Redemption", he just press the enter key, otherwise, he type > in other words anyway. > My question is, is there any module that can easy the implementation of this > feature? Thanks.
The `readline` module in the standard library: http://docs.python.org/library/readline.html Although I don't know how to get it to colorize the interface. Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list