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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!