import duplicates as dup folder_of_interest = 'C:/manyDuplicatesHere/' dup.list_all_duplicates(folder_of_interest, to_csv=True, csv_path='C:/csvWithAllDuplicates/', fastscan=True)