Using Python to break a continuous string into components?
<p>This is similar to what I want to do: <a href="http://stackoverflow.com/questions/2139377/breaking-a-32-bit-number-into-individual-fields">breaking a 32-bit number into individual fields</a></p>

<p>This is my typical "string" 00000000110000000000011000000000</p>

<p>I need to break it up into four equal parts:</p>

<p>00000000</p>

<p>11000000</p>

<p>00000110</p>

<p>00000000</p>

<p>I need to append the list to a new text file with the original string as a header.</p>

<p>I know how to split the string if there were separators such as spaces but my string is continuous.</p>

<p>These could be thought of as 32bit and 8bit binary numbers but they are just text in a text file (for now)!</p>

<p>I am brand new to programing in Python so please, I need patient details, no generalizations.</p>

<p>Do not assume I know anything.</p>

<p>Thank you,</p>

<p>Ralph</p>
