def globfind(directory, pattern, blacklist=STD_BLACKLIST):
 for (curdir, dirnames, filenames) in os.walk(directory):
  _handle_blacklist(blacklist, dirnames, filenames)
  for fname in fnmatch.filter(filenames, pattern):
   (yield join(curdir, fname))

def globfind ( directory , pattern , blacklist = STD_BLACKLIST ) : for ( curdir , dirnames , filenames ) in os . walk ( directory ) : _handle_blacklist ( blacklist , dirnames , filenames ) for fname in fnmatch . filter ( filenames , pattern ) : ( yield join ( curdir , fname ) )
recursively finds files matching glob pattern under directory .