title: Removing backslashes from a string in Python
body: <p>How do I remove all the backslashes from a string in Python?</p>
  
  <p>This is not working for me:</p>
  
  <pre><code>result = result.replace("\\", result)
  </code></pre>
  
  <p>Do I need to treat result as a raw string?</p>