python: how can i find all files with a particular extension?,results += [each for each in os.listdir(folder) if each.endswith('.c')]