title: Python - excel - xlwt: colouring every second row
body: <p>i just finish some MYSQL to excel script with xlwt and I need to colour every second row for easy reading.</p>
  
  <p>I have tried this:</p>
  
  <pre><code>row = easyxf('pattern: pattern solid, fore_colour blue')
  
  for i in range(0,10,2):
  
  ws0.row(i).set_style(row)
  </code></pre>
  
  <p>Alone this colouring is fine, but when when I write my data rows are again white.</p>
  
  <p>Can some please show me some example 'cuz I m lost in coding :/</p>
  
  <p>Best Regards.</p>