title: handling windows paths in Jupyter notebooks
body: <p>I have a particular problem I'm facing with windows file paths in Jupyter notebook.</p>
  
  <pre><code>path = 'C:\apps\python'
  print(path)
  </code></pre>
  
  <p>This gives <code>C:pps\python</code></p>
  
  <p>What I want to eventually do is to get a reference to the files in <code>path</code></p>
  
  <p>I was intending to do the following</p>
  
  <pre><code>files = [f for f in listdir(path) if isfile(join(path, f))]
  # do something with the list of files
  </code></pre>
  
  <p>However this throws up the error - <code>OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\x07pps\\python'</code></p>