Python Lambda Expressions
November 19, 2009I’ve been writing a small Python/Tk application and until recently was having trouble with menu item callback functions. I have a series of menu items, all of which do much the same thing, but within the context of an item-specific ID. Therefore it would make sense to have a generic function that takes some parameter to determine what to do.
Continue reading
