title: replace '\\x' with '\x'
body: <pre class="lang-py prettyprint-override"><code>&gt;&gt;&gt; s = '\\xca'
  &gt;&gt;&gt; s
  '\\xca'
  &gt;&gt;&gt; s.replace('\\x', '\x')
    File &quot;&lt;stdin&gt;&quot;, line 1
      s.replace('\\x', '\x')
                           ^
  SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-1: truncated \xXX escape
  </code></pre>
  <p>how to bypass the error? to print 'Ê' character instead of <code>\\xca</code></p>
  <p>PS: <code>s.replace('\\xca', '\xca')</code> is not what I want</p>