'Fill the entire screen.'

def page(self, attr=None, fill='    '):

    if (attr is None):
        attr = self.attr
    if (len(fill) != 1):
        raise ValueError
    info = CONSOLE_SCREEN_BUFFER_INFO()
    self.GetConsoleScreenBufferInfo(self.hout, byref(info))
    if ((info.dwCursorPosition.X != 0) or (info.dwCursorPosition.Y != 0)):
        self.SetConsoleCursorPosition(self.hout, self.fixcoord(0, 0))
    w = info.dwSize.X
    n = c_int(0)
    for y in range(info.dwSize.Y):
        self.FillConsoleOutputAttribute(self.hout, attr, w, self.fixcoord(0, y), byref(n))
        self.FillConsoleOutputCharacterA(self.hout, ord(fill[0]), w, self.fixcoord(0, y), byref(n))
    self.attr = attr
