In Python on a GNU/Linux system, what\'s the fastest way to recursively scan a directory for all .MOV or .AVI files, and to store them in a list? <
.MOV
.AVI
You can use os.walk() for recuresive walking and glob.glob() or fnmatch.filter() for file matching:
Check this answer