title: Python, removing the \'s before getting them processed
body: <p>I'm making a program that asks for a path, and Windows' paths contain backslashes, which can be interpreted as an escape sequence by python if the letter right next is the wrong one. I tried string.replace() but it doesn't work as these backslashes get transformed into escape sequences before having the replace function executed.</p>
  
  <p>Is there a way to remove them and maybe make them / instead of \?</p>