Filtering a long list of files through a set of ignore patterns using iterators
You can simplify the loop by using a generator expression like this:

for filename in filenames:
    if any(fnmatch(filename, pattern) for pattern in ignore_list):
        print 'Ignore', filename
        continue