title: how I can replace backslashes in python
body: <p>I simply wanna replace the backslash but I can't , I searched  every where but nothing found</p>
  <p>I tried:</p>
  <pre><code>
  mystr = &quot;\n&quot;
  
  mystr.replace(&quot;\\&quot;,'x') #nothing happened
  
  print(mystr.startswith('\\')) #False
  
  print(ord('\')) #EOL_Error
  
  print(ord(mystr[0]) == ord('\\')) #False
  
  </code></pre>
  <p>can any one help me pleas ..</p>