>File "C:\Documents and Settings\Tom C\My Documents\Python
projects -
> Toms\quiz\quiz.py", line 13, in __main__
> KeyIn = getch()
> NameError: name 'getch' is not defined
>
Have you actually imported the msvcrt module?
And if so did you import kbhit and getch since you aren't prefixing
t
Executing within Komodo 3.1, running python 2.4.1, it appears that when
running my source file, python knows kbhit(), but not getch(). How can
this be?
KeyIn = getch()
File "C:\Program Files\ActiveState Komodo
3.1\dbgp\pythonlib\dbgp\client.py", line 1799, in runMain
self.dbg.ru