In a message of Tue, 27 Oct 2015 21:04:45 -0400, "Hunter Jozwiak" writes:
>Hello,
>
> 
>
>I am not sure exactly why there would be a practical use for a lambda
>function, other than the fact that you can make one-liner functions that
>take parameters in to a variable. Or at least that is how things look when
>they are written. Can I have some demystification?
>
> 
>
>Thanks,
>Hunter

Practically the only time I use them is to code callbacks in Tkinter
functions.

see: https://pythonconquerstheuniverse.wordpress.com/2011/08/29/lambda_tutorial/

for why it is useful.

Laura
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to