Question: Week Two Assignment 2 - File Hashing ' Complete the script below to do the following: 1) Add your name, date, assignment number to the

 Week Two Assignment 2 - File Hashing "' Complete the script

Week Two Assignment 2 - File Hashing "' Complete the script below to do the following: 1) Add your name, date, assignment number to the top of this script 2) Using the os library and the os.walk0 method a) Create a list of all files b) Create an empty dictionary named fileHashes c) Iterate through the list of files and - calculate the md5 hash of each file - create a dictionary entry where: key = md 5 hash value = filepath d) Tterate through the dictionary - print out each key, value pair 3) Submit NamlingConvention: IastNameFirstInitial_Assignment_.ext for example: hosmerC_WK1_script.py hosmerC_WK1_screenshot.jpg A) Screenshot of the results in WingIDE B) Your Script

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!