Apr 2 2013

Python lambda functions (late to the party?)

So, I’m sure I’m not the only guy that’s been working late at night trying to fix some python code on some pipeline tool written by someone else that stumble into a “something = lambda x: self.blahBlah(x)” line and was like, WTF is this lambda stuff?? well like usual I’m late to the party, and I’m sure this is something most python programers will laugh at me for, but here’s a good tutorial that help me understand what his method was all about… I’m not sure that the lambda is something i couldn’t live with out but it seems like a neat way of making wrappers for functions with a single line of code..
Enjoy the link..
http://www.blog.pythonlibrary.org/2010/07/19/the-python-lambda/

Leave a Reply