curses: AttributeError: initscr

Cesar g0w1s0 at yahoo.ca
Mon Sep 2 02:52:16 CEST 2002


I'm running python 1.5/2.2.1 under redhat linux 7.2.

I'm trying to use the curses module like this :

1: import curses
2: 
3: screen = curses.initscr()
4:

and I get this error msg:

Traceback (innermost last):
  File "./curses_test.py", line 6, in ?
    screen = curses.initscr()
AttributeError: initscr

any idea ??



More information about the Python-list mailing list