curses: AttributeError: initscr

Cesar g0w1s0 at
Mon Sep 2 15:01:13 CEST 2002

Dennis Lee Bieber wrote:

>> I'm running python 1.5/2.2.1 under redhat linux 7.2.
>         So which is it when you get the error?


>         I could be wrong (I've not kept track of when certain changes took
> effect) but does 1.5 understand library directories? On this system
> (Mandrake) curses is a directory with an file.
>         What does (from python) dir(curses) return?
>>> dir(curses)
['__builtins__', '__doc__', '__file__', '__name__', 'sys']

the file was in the same directory where my script was.

this file contained only some testing instructions.

when I removed the file, all remains ok.


More information about the Python-list mailing list