On Fri, Aug 30, 2013 at 7:27 AM, <fp2...@gmail.com> wrote: > Chris, call me a snob, but I resent using lambdas (aren't they usually > considered odd/bad practice in python?)
They're not bad practice; all they are is a function without a name, that's restricted to returning a single expression. So they're perfectly suited to this task, and ill-suited to some others. Like everything, lambda's a tool that can be used or misused. ChrisA -- http://mail.python.org/mailman/listinfo/python-list