title: double backslash python os.path.abspath
body: <p>I get the path </p>
  
  <pre><code>dire=os.path.abspath(".")
  </code></pre>
  
  <p>and </p>
  
  <pre><code>for fileName in filter(os.path.isfile, os.listdir(path=direc))
  </code></pre>
  
  <p>but <code>dire</code> has <code>C:\\</code> and sends me the next error:</p>
  
  <pre><code>TypeError: listdir() takes no keyword arguments
  </code></pre>
  
  <p>when I print <code>dire</code> to see the content print next:</p>
  
  <pre><code>C:\\user\\documents....
  </code></pre>
  
  <p>what can I do to get <code>\</code> and not <code>\\</code> in <code>os.path.abspath(".")</code>?</p>