title: How to ensure double quote in multiline strings
body: <p>I wrote an SQL query which uses data passed in from WTForms as parameters.
  How do I ensure double quotes on the variable? </p>
  
  <pre><code>q = """
  select * from table
  where dt_date &gt;= %(date)s""" % {'date':date}
  </code></pre>
  
  <p>Right now it shows as </p>
  
  <pre><code>select * from table
  where dt_date &gt;= 23-06-2016
  </code></pre>
  
  <p>which then throws error. How to make it become:</p>
  
  <pre><code>select * from table
  where dt_date &gt;= "23-06-2016"
  </code></pre>