[NCLUG] Dumb Python Question

marciot marciot at holly.colostate.edu
Tue Jul 30 10:27:30 MDT 2002


What's wrong with this line?

        popupMenu = Menu(self, tearoff=0)
        popupMenu.add_command(label="water", command=lambda: pass )

Python whines about a syntax error right after "pass". I've tried to RTFM, but 
there is so much documentation out there I can't find one that addresses my 
specific problem. There is such a thing as *too* much docs...

Marcio Luis Teixeira





More information about the NCLUG mailing list