Summary: How can I use Python to locate two files with identical names (in known locations) and see if they are identical using hash.
I currently have two folders, Folder1 and Folder2. I am trying to figure out how I can have Python move file by file through Folder1. For each file (which is a .jpg image), I would like to use hash to get a unique integer for the image and copy the file name to a string. From this string, I plan to find the potential identical copy of that image in Folder2 and then use hash to see if they are identical.
I am new to Python and this is my first post on Stack Overflow. If there is any information I should include or area where I was unclear, please let me know and I will respond as soon as possible. Thanks, and thank you to Ares for recommending the use of hash.