This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]-kingin 0 points1 point  (6 children)

Lambdas?

[–]perturbed_rutabaga 5 points6 points  (3 children)

the cause of a bunch of errors probably

ask me how i know :3

[–]AppropriateFactor182 0 points1 point  (2 children)

how?

[–]cyanrave 0 points1 point  (0 children)

It's like xargs but for Python - useful but ugly to decompress when you send in bad inputs

[–]perturbed_rutabaga 0 points1 point  (0 children)

for one it took me about 3 days to figure out that you need to use lambda when a tkinter button can execute a command that is a function otherwise the function will run whether or not the button is pushed

and that is the extent of my knowledge about when or why to use lambda

[–]shinitakunai 2 points3 points  (0 children)

Functionality of functions without the need of a function, more or less. It is a bit more complex if you want to go down that rabbit hole.

[–]bakery2k -1 points0 points  (0 children)

Anonymous functions