def glob_many(*globs):
 result = []
 for pattern in globs:
  result.extend(glob(pattern))
 return sorted(result)

def glob_many ( * globs ) : result = [ ] for pattern in globs : result . extend ( glob ( pattern ) ) return sorted ( result )
return a list of all the glob patterns expanded .