Pythonic way for double iteration (list all files with extensions)
If you only need to iterate over them (once) and not an actual list, you could use itertools.chain and glob.iglob:

files = chain(*(iglob(path.join(DOC_PATH, ext)) for ext in EXTENSIONS))


If you do need an actual list, you can further call list(files), of course.