{"categories":["Python"],"type":"rich","version":"1.0","height":"190","provider_name":"Hatena Blog","image_url":null,"blog_url":"https://mzp.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20090807%2Fiter\" title=\"iterator\u306f\u9045\u5ef6\u30ea\u30b9\u30c8\u306e\u4ee3\u308f\u308a\u306b\u306f\u306a\u3089\u306a\u3044\u3088 - \u307f\u305a\u3074\u30fc\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","description":"Python\u306e\u30a4\u30c6\u30ec\u30fc\u30bf\u306f\u3001itertools \u2014 Functions creating iterators for efficient looping \u2014 Python 3.7.3 documentation\u307f\u305f\u3044\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u3042\u308b\u304f\u3089\u3044\u3060\u3057\u3001\u308f\u308a\u3068\u9045\u5ef6\u30ea\u30b9\u30c8\u306e\u4ee3\u308f\u308a\u306b\u4f7f\u3048\u308b\u3002 \u3067\u3082\u3001\u3084\u3063\u3071\u308a\u30a4\u30c6\u30ec\u30fc\u30bf\u306f\u30a4\u30c6\u30ec\u30fc\u30bf\u3067\u3042\u3063\u3066\u3001\u9045\u5ef6\u30ea\u30b9\u30c8\u3058\u3083\u306a\u3044\u3002\u4f8b\u3048\u3070\u3001\u540c\u3058\u30a4\u30ec\u30ec\u30fc\u30bf\u3092izip\u3059\u308b\u3068\u7d50\u679c\u304c\u5909\u306b\u306a\u3063\u3061\u3083\u3046\u3002 >>> from itertools import * >>> f = open('test') >>> list(izip(f,f)) [('1\\n', '2\\n'), ('3\\n', '\u2026","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","author_name":"mzp","published":"2009-08-07 00:00:00","url":"https://mzp.hatenadiary.org/entry/20090807/iter","provider_url":"https://hatena.blog","title":"iterator\u306f\u9045\u5ef6\u30ea\u30b9\u30c8\u306e\u4ee3\u308f\u308a\u306b\u306f\u306a\u3089\u306a\u3044\u3088","author_url":"https://blog.hatena.ne.jp/mzp/"}