title: How to draw a pixel on the screen directly?
body: <p>I'm wanting to do something like the following:</p>
  
  <pre><code>...
  pixel[0,0] = [ 254, 0, 0 ] # Draw R at pixel x0y0
  pixel[2,1] = [ 0, 254, 0 ] # Draw G at pixel x2y1
  pixel[4,2] = [ 0, 0, 254 ] # Draw B at pixel x4y2
  ...
  </code></pre>
  
  <p>I hope to display many different configurations of pixels and colours in a short space of time -- writing to an intermediary file would be too expensive.</p>
  
  <p>How should I best go about achieving this goal in Python?</p>