title: Updating a 2 dimensional list in python
body: <p>I have a large two dimensional list of integer values.  I need to update a slice of this list.</p>
  
  <p>Currently I am using the syntax :</p>
  
  <pre><code>pixelArray[20:24][150:154] = [255 for i in range(4)]
  </code></pre>
  
  <p>The column indexes do exist in the table.  And I tried just setting the slice directly to the value 255 but python told me I need to use an iterator to set multiple values.  Is there an easier way to accomplish this?</p>