[Tutor] ReadKey function in Python
alan.gauld@bt.com
alan.gauld@bt.com
Thu, 6 Apr 2000 09:57:52 +0100
> On Wed, 5 Apr 2000 alan.gauld@bt.com wrote:
>
> >I thought there might be a py-curses module but can't see
> one. (I usually
> >use curses for this in C on Unix...)
>
> "import curses" should do it:-) It's in the standard library.
Not for me its not... I tried Python 1.5.1 on Solaris
and 1.5.2 under NT and win95. They all give:
>>> import curses
Traceback (innermost last):
File "<pyshell#0>", line 1, in ?
import curses
ImportError: No module named curses
>>>
I did think a python curses would be kind of an obvious
thing to find, but I can't see it. Maybe I'm looking in
the wrong places?
Alan G.