import duplicates as dup file_of_interest = 'C:/manyDuplicatesHere/thisFileExistsManyTimes.jpg' folder_of_interest = 'C:/manyDuplicatesHere/' df = dup.find_duplicates(file_of_interest, folder_of_interest)