<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>LouiS</author_name>
  <author_url>https://blog.hatena.ne.jp/LouiS/</author_url>
  <blog_title>需要のないページ</blog_title>
  <blog_url>https://louis-needless.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>能書き 次のようなイテレータが欲しくなったことはないだろうか。 &gt;&gt;&gt; for e in ideal_it_A(range(6), 3): ... print(e) ... (0, 1, 2) (3, 4, 5) &gt;&gt;&gt; &gt;&gt;&gt; for e in ideal_it_B(range(6), 3): ... print(e) ... (0, 1, 2) (1, 2, 3) (2, 3, 4) (3, 4, 5) これらを書いてみただけの話。Gist 重複のないイテレータ 出落ちのようだが、これについては公式リファレンスに言及がある。引用元： 2. 組み込み関数 — Python 3.6.3 ドキュ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flouis-needless.hatenablog.com%2Fentry%2Fmake_slide_iterator_in_python&quot; title=&quot;Python3.xで『スライドするイテレータ』を書いてみる (重複あり／なし) - 需要のないページ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://capture.heartrails.com/120%C3%97120/shorten?http://more-itertools.readthedocs.io/en/latest/api.html#windowing</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-26 19:27:12</published>
  <title>Python3.xで『スライドするイテレータ』を書いてみる (重複あり／なし)</title>
  <type>rich</type>
  <url>https://louis-needless.hatenablog.com/entry/make_slide_iterator_in_python</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
