title: Python escaping backslash
body: <p>I'm trying to escape the backslash, but trying to understand the right way of doing it</p>
  
  <pre><code>foo = r'C:\Users\test.doc'
  </code></pre>
  
  <p>The above works fine</p>
  
  <p>However, when I want to escape the path stored in a variable</p>
  
  <p>For example :</p>
  
  <pre><code>parser.add_argument('-s', '--source', type = str, help = 'Source file path')
  </code></pre>
  
  <p>Now, how do escape the value in - args.source</p>