Add lambdas to python and ipython