Sublime Forum

Lambda question

#1

New to Python. New to Sublime. I am using the unregistered version.

Trying to follow some tutorials on You Tube. I was doing fine until I had to type a line like this: button_1 = Button(root, text=“1”, command=Lambda: button_click(1))

Sublime doesn’t recognize “Lambda”. I have deleted Sublime and reinstalled and upgraded to Build 4126.

Do I need to do something to allow the use of a Lambda instruction?

Thanks, Mark

0 Likes

#2

Looks like a typo to me. It should be lambda and not Lambda

0 Likes

#3

I’m a dummy!
Yes, I just figured that out. I mistook the lower case letter for an upper case.

Thanks

0 Likes