title: Can't find file with os.walk()
body: <p>I've created a file called program1.py in my /home/n00b directory.
  I then opened python and I wanted to see if I could write a script to find it's location. I did this:</p>
  
  <pre><code>for f in os.walk('/home/n00b'):
       print 'searching', f
       if 'program1.py' in f:
            print 'found'
            break
  </code></pre>
  
  <p>Why isn't this working? It seems to be searching each file because my screen fills up with the 'searching', part, but it never finds it.</p>