摘要: Python的有一个新奇事物,lambda关键词>>> def make_incrementor(n):return lambda x,iner,n:x+iner>>> 如上函数所表示,lambda可以定义一些小的没名字的函数,其实写完这些,我目前还不知道它到底有多大好处,先这里介绍一下,省得到时候见了不认识.昨天实验室关门,今天接着写吧。Python的函数执行... 阅读全文
posted @ 2009-06-02 22:30 ninahan 阅读(315) 评论(2) 推荐(0) 编辑