list of Canvases contais only Nones

Jeff Epler jepler at unpythonic.net
Mon Jan 27 16:02:57 EST 2003


.grid() returns None, not the widget.

Write this:
    for: ...
        w = Canvas(...)
        w.grid(...)
        canv_list.append(w)

Jeff





More information about the Python-list mailing list