I am writing this code in python (on my windows 10 machine) :
import msvcrt
a = getch()
and I'm getting this error when I try to run it using python3:
Traceback (most recent call last):
File "Simon.py", line 2, in <module>
import msvcrt
ModuleNotFoundError: No module named 'msvcrt'
[Exit 1 ]
Anyone know how I can make this import work? The functionality of the getch()
method is the last thing I need for this program to work.