Convert input to upper case on screen as it is typed

Marko Rauhamaa marko at pacujo.net
Thu Apr 14 05:22:24 EDT 2016


Ben Finney <ben+python at benfinney.id.au>:

> I had been hoping that I could simply wrap some stream in a simple
> “convert what they actually type so it's upper case” text codec,
> without fiddling at such a low operating-system specific level. This
> is rather more esoteric than I had hoped.

If you run your program in a Linux terminal, you have to abide by the
Linux terminal principles. It is not a simple Python matter. Echoing is
performed by the terminal driver and not by the Python program.

I do commend Python for having such complete coverage of Linux system
facilities.


Marko



More information about the Python-list mailing list