code: def iglob(pathname, patterns):
      
      matches = []
      patterns = patterns.split(",") if "," in patterns else listify(patterns)
      for root, dirnames, filenames in os.walk(pathname):
          matching = []
          for pattern in patterns:
              matching.extend(fnmatch.filter(filenames, pattern))
          for filename in matching:
              matches.append(op.join(root, filename))
      return natsorted(matches)
docs: Allow multiple file formats. This is also recursive. For example:
  
      >>> iglob("apps", "*.py,*.pyc")