Dears:
I found demo code of cruses wrapper() ( the code just before "Windows and Pads") in docs  "Curses Programming with Python" have some code error.

"    for i in range(0, 10):" should be "    for i in range(11):", or that would not raises ZeroDivisionError.

Bo-Sian Li