How can I handle the char immediately after its input, without waiting an endline?

Roel Schroeven rschroev_nospam_ml at fastmail.fm
Sat Oct 25 10:30:55 EDT 2008


Steven D'Aprano schreef:
> I can't think of any modern apps that use one character commands like 
> that. One character plus a modifier (ctrl or alt generally) perhaps, but 
> even there, it's mostly used in GUI applications.

less, vi, info, top, cfdisk, lynx, links, ... come to mind. I suppose 
there are many more that I can't think of at the moment.

-- 
The saddest aspect of life right now is that science gathers knowledge
faster than society gathers wisdom.
   -- Isaac Asimov

Roel Schroeven



More information about the Python-list mailing list