curses: AttributeError: initscr
g0w1s0 at yahoo.ca
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 __init__.py file.
> What does (from python) dir(curses) return?
['__builtins__', '__doc__', '__file__', '__name__', 'sys']
the file curses.py was in the same directory where my script was.
this file contained only some testing instructions.
when I removed the curses.py file, all remains ok.
More information about the Python-list