摘要:
is will return True if two variables point to the same object, == if the objects referred to by the variables are equal.>>> a = [1, 2, 3] >>> b = a >>> b is a True >>> b == a True >>> b = a[:] >>> b ... 阅读全文
posted @ 2016-07-05 14:01
stefan.liu
阅读(187)
评论(0)
推荐(0)
摘要:
MapReduce的设计灵感来自于函数式编程,这里不打算提MapReduce,就拿python中的map()函数来学习一下。 文档中的介绍在这里: map(function, iterable, ...) Apply function to every item of iterable and re 阅读全文
posted @ 2016-07-05 13:49
stefan.liu
阅读(708)
评论(0)
推荐(0)