Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started