Single key press
88888 Dihedral
dihedral88888 at googlemail.com
Tue Dec 6 01:27:48 EST 2011
On Tuesday, December 6, 2011 1:49:55 PM UTC+8, Sergi Pasoev wrote:
> Hi.
>
> I wonder if it is realistic to get a single key press in Python
> without ncurses or
> any similar library. In single key press I mean something like j and k
> in Gnu less
> program, you press the key and and it is captured by the script without need to
> press enter afterwards
Sounds like the fast key searching for a list in the DOS application in the
old days.
This is easy in GUI of just tens of items, but for thousands of items such
as in a directory listing, some API is really slow.
More information about the Python-list
mailing list