title: How do I define a style for even and odd rows of a table (python reportlab)
body: <p>I have to print a report which may be hundreds rows in length. Its particularity is that each item's content should be printed on two lines. Those lines have a specific style.</p>
  
  <p>Sample : </p>
  
  <pre><code>line 1 : First Header line 
  line 2 : Second Header line 
  line 3 : Name , adress
  line 4 : birth date , gender, hobbies 
  line 5 : Name , adress
  line 6 : birth date , gender, hobbies 
  ...
  </code></pre>
  
  <p>I use table to handle the per page content.</p>
  
  <p>In the style definition, I have something like this:</p>
  
  <pre><code>('FONTSIZE',(0,2),(-1,-1),18)
  </code></pre>
  
  <p>But I want that this style applies to all even rows and a style like this one </p>
  
  <pre><code>('FONTSIZE',(0,2),(-1,1),12)
  </code></pre>
  
  <p>applies to all odds rows.</p>
  
  <p>The best would be that this two styles applies on the whole table except the first and second row which contains the header of the table.</p>