for every file in the folder do python code example Example: for every file in the folder do python for file in os.listdir(inputdir):