ValueError: invalid \x escape in this case
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2704654/why-is-x-invalid-in-python">Why is ‘\x’ invalid in Python?</a>  </p>
</blockquote>



<pre><code>realId = 'Test'
id = ""
for x in realId:
 id += '\x'+str(ord(x))
print id
</code></pre>

<p>Honestly I'm pretty new to python and askii conversion so this should be a quick answer. I'm getting an error when creating this string, would anyone like to point me in the right direction?</p>
