String Output in Python
<pre><code> html_body += "&lt;tr&gt;&lt;td&gt;{}&lt;/td&gt;&lt;td&gt;{}&lt;/td&gt;&lt;td&gt;{}&lt;/td&gt;&lt;td&gt;{}&lt;/td&gt;".\format(p[0],p[1],p[2],p[3])
                                                                                           ^
</code></pre>

<blockquote>
  <p>SyntaxError: unexpected character after line continuation character</p>
</blockquote>

<p>It looks normal. how should i fix it?</p>

<pre><code>html_body += "&lt;tr&gt;&lt;td&gt;{}&lt;/td&gt;&lt;td&gt;{}&lt;/td&gt;&lt;td&gt;{}&lt;/td&gt;&lt;td&gt;{}&lt;/td&gt;".\form
                                                                ^
</code></pre>

<p>Right there is your problem.  The backslash is the line-continuation character that the error mentions.  Take it out.</p>

python