title: How to control EOL and leading spaces in Mako?
body: <p>With the following, I would like to control the EOL:</p>
  
  <pre><code>&lt;%!
      import sqlite3
      def data():
          return [(1,2,3,4,5), (1,2,3,4,5)]
  %&gt;
  /**
   * Header file
   */
  #define foo bar
  
  % for row in data():
      { \
      % for col in row:
          ${col}, \
      % endfor
      }
  % endfor
  </code></pre>
  
  <p>The goal is to print: </p>
  
  <pre><code>{1,2,3,4,5},
  {1,2,3,4,5}    
  </code></pre>
  
  <p>I've tried to do something like:</p>
  
  <pre><code>% for row in data():
      {&lt;%for i, col in enumerate(row):%&gt;${','*bool(i)}${col}&lt;%endfor%&gt;},
  % endfor
  </code></pre>