Python: how the get the consecutive n-size pieces in a string?
<p>Given a string such as <code>"8584320342564023450211233923239923239110001012346596"</code>, how can get all consecutive 4 digit subsequences?  </p>

<p>For example, the above string will produce: <code>8548</code>, <code>5843</code>, <code>8432</code>,  <code>0342</code>, ...</p>
