👋 Hey there, I am Waylon Walker
I am a Husband, Father of two beautiful children, Senior Python Developer currently working in the Data Engineering platform space. I am a continuous learner, and sha
Now this is more of what I was looking for. The value of file was bound to the lambda upon creation, and will print out each value of the list as intended... Hard lesson learned this week.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This week I learned about binding default values to dynamically created lambdas in python.
😲 This prints
'jkl'
. in fact every function prints'jkl'
, they just print the latest value of'jkl'
Now this is more of what I was looking for. The value of file was bound to the lambda upon creation, and will print out each value of the list as intended... Hard lesson learned this week.