chunk_split in python
<p>I'm trying to find a pythonic way to do this PHP code:</p>

<pre><code>chunk_split(base64_encode($picture));
</code></pre>

<p><a href="http://us2.php.net/chunk%5Fsplit" rel="nofollow">http://us2.php.net/chunk_split</a></p>

<p>chunk_split split the string into smaller chunks of 76 character long by adding a "\r\n" (RFC 2045). </p>

<p>thank you</p>
