摘要:
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 ... 阅读全文
摘要:
MapReduce的设计灵感来自于函数式编程,这里不打算提MapReduce,就拿python中的map()函数来学习一下。 文档中的介绍在这里: map(function, iterable, ...) Apply function to every item of iterable and re 阅读全文