In a message of 2015年12月14日 23:41:21 +0100, "Thomas 'PointedEars' Lahn" wr ites: >Why do you have to use msvcrt? >>I would use curses for user input, but: >>,-<https://docs.python.org/2/howto/curses.html?highlight=user%20input> >,-<https://docs.python.org/3.2/howto/curses.html?highlight=user%20input> >|>| No one has made a Windows port of the curses module. On a Windows >| platform, try the Console module written by Fredrik Lundh. The Console >| module provides cursor-addressable text output, plus full support for >| mouse and keyboard input, and is available from >| http://effbot.org/zone/console-index.htm. >>So you should try that instead. If going for curses, I'd try this instead: http://pdcurses.sourceforge.net/ Laura