title: inconsistent use of tabs
body: <p>I am trying to find all of the .mp3 and .mp4 files in my /Users/ directory in windows 7. Here is my code is bellow. An ideas on what to do??</p>
  
  <pre><code>import os
  newpath = r'C:\Users\Media' 
      if not os.path.exists(newpath):
        os.makedirs(newpath)
  for root, dirs, files in os.walk("/Users"):
       for file in files:
           if file.endswith(".mp3"):
               print(os.path.join(root, file))
               os.rename(os.path.join(root, file), newpath)
  for root, dirs, files in os.walk("/Users"):
      for file in files:
           if file.endswith(".mp4"):
               print(os.path.join(root, file))
               os.rename(os.path.join(root, file), newpath)  
  </code></pre>