title: Spyder IDE editor multiline string query (Python 3.6)
body: <p>I'm trying to make a SQL query that can be used with pandas.read_sql_query.</p>
  
  <pre><code>query = '''SELECT var1, var2, var3, var4,
          var5, var6, var7, var8, var9
          FROM table 
          WHERE area='there' '''
  </code></pre>
  
  <p>This works when running in the console, but when I try to execute this in the Spyder editor I see the following:</p>
  
  <p>SyntaxError: EOF while scanning triple-quoted string literal</p>