type conversions string from python to javascript
<p>I have problems with type conversions string from python to javascript. </p>

<p>I create html file from python with these code :</p>

<pre><code>htmlbody = """
&lt;html&gt;
&lt;script&gt;
b = "\x45\x20\x61"
&lt;/script&gt;
&lt;/html&gt;
</code></pre>

<p>but when i create html file instead in my file </p>

<pre><code>&lt;html&gt;
&lt;script&gt;
b = "\x45\x20\x61"
&lt;/script&gt;
&lt;/html&gt;
</code></pre>

<p>i have</p>

<pre><code>&lt;html&gt;
&lt;script&gt;
b = "\e\b\n"
&lt;/script&gt;
&lt;/html&gt;
</code></pre>

<p>Any suggestions would be helpful.</p>
