itertools模块速查
摘要:
学习itertools模块记住这张表就OK了参考:http://docs.python.org/2/library/itertools.html#module-itertoolsInfinite Iterators:IteratorArgumentsResultsExamplecount()start, [step]start, start+step, start+2*step, ...count(10)-->1011121314...cycle()pp0, p1, ... plast, p0, p1, ...cycle('ABCD')-->ABCDABCD...r 阅读全文
posted @ 2014-01-03 21:57 甲骨蚊 阅读(328) 评论(0) 推荐(0) 编辑