title: python replace single backslash with double backslash
body: <p>In python, I am trying to replace a single backslash ("\") with a double backslash("\"). I have the following code:</p>
  
  <pre><code>directory = string.replace("C:\Users\Josh\Desktop\20130216", "\", "\\")
  </code></pre>
  
  <p>However, this gives an error message saying it doesn't like the double backslash. Can anyone help?</p>