title: os.walk a path with wildcard
body: <p>I would like to traverse a directory and search for a given file. Here is some code I wrote:</p>
  
  <pre><code>import os
  def find(filename, path):
    for root, dirs, files in os.walk(path):
      for file in files:
        if file==filename:
          print(os.path.join(root, file))
  
  # Python boiler plate call.
  if __name__ == "__main__":
    find('myFile.txt', '/path/to/one/user/dir/and/subDir1/and/subDir2')
  </code></pre>
  
  <p>The above works pretty well.</p>
  
  <p>Question1:
  How to improve my code to work with something like this:</p>
  
  <pre><code>  find('myFile.txt', '/path/to/one/*/dir/and/*/and/*')
  </code></pre>
  
  <p>Question2: 
  What is the Pythonic way for:</p>
  
  <pre><code>      if file==filename:
  </code></pre>