Write into a python slice?
<p>Attempting to simply write into an existing (already filled) slice in python.</p>

<pre><code>data = list([0] * 80)
bytes = [72, 101, 108, 108, 111]
print len(data) # 80
data[0:] = bytes
print (len(data)) # 5
</code></pre>

<p>What I really wanted was to only modify the first 5 integers and leave the rest of the data list as zeros.  However, what I did was shrink my list.</p>

<p>What is the right way to copy my bytes into data without shrinking it?</p>
