Question: In Python create a script to: Use the os.walk() method to create a list of all files in a directory, create an empty dictionary name
In Python create a script to:
Use the os.walk() method to create a list of all files in a directory, create an empty dictionary name walkHashes, iterate through the list of files and find the md5 hash and create a dictionary entry where the key is the hash and the value is the filepath.
After that iterate through the dictionary and print out each key, value pair.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
