title: os.walk doesn't walk
body: <p>While fiddling around to try to automate some process, I ran into this seemingly very strange behavior of Python's <code>os.walk()</code>: when I pass it some directory, it just doesn't do anything. However, when I pass the parent directory, it recurses properly in the path that doesn't seem to work when passed directly.</p>
  
  <p>For example:</p>
  
  <pre><code>for root, _, _ in os.walk('F:\music'):
      print(root)
  </code></pre>
  
  <p>produces the following output:</p>
  
  <blockquote>
    <p>F:\music<br/>
    [...]<br/>
    F:\music\test<br/>
    F:\music\test\broken<br/>
    F:\music\test\broken\Boards_Of_Canada<br/>
    F:\music\test\broken\Brian_Eno<br/>
    [...]<br/></p>
  </blockquote>
  
  <p>But when I try with F:\music\test (which was recursed in just fine when <code>os.walk()</code> was called on its parent) as such:</p>
  
  <pre><code>for root, _, _ in os.walk('F:\music\test'):
      print(root)
  </code></pre>
  
  <p>I don't get any output at all. </p>
  
  <p>Does anybody have an idea what's going on? Am I doing something wrong? Is it some weird limitation of <code>os.walk()</code>? I'm really confused.</p>