list of Canvases contais only Nones

Jeff Epler jepler at unpythonic.net
Mon Jan 27 22:02:57 CET 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