Implementing C++'s getch() in Python

Paul Moore p.f.moore at
Sat May 25 10:14:46 EDT 2019

On Sat, 25 May 2019 at 12:12, <binoythomas1108 at> wrote:
> I'm working on Python 3.7 under Windows. I need a way to input characters without echoing them on screen, something that getch() did effectively in C++. I read about the unicurses, ncurses and curses modules, which I was not able to install using pip.
> Is there any way of getting this done?

On Windows, the msvcrt module exposes getch:

More information about the Python-list mailing list