list of subwindows(curses)

rabbits77 rus20376 at NO_SPAMsalem.mass.edu
Sun Dec 1 18:50:36 EST 2002


When I do the following on a single subwindow called field this works. 
When I try to create multiple subwindows in a list nothing happens.
Why? Any help is much appreciated!!        
Here is the code which does nothing
        numFields=7
        i=0
        while (i < numFields):
                field[i]=curses.newwin(2,2,1,i+4)
                field[i].addstr("H")
                field[i].refresh()
                i=i+1



More information about the Python-list mailing list