Create a simple Python application (Save as w5_firstname_lastname.py) .
Create a Python script that takes two parameters to do the following:-
1) List all files names, size, date created in the given folder
2) Parameter1 = Root Folder name
Parameter2= File size >>> to filter file size ( you can do =, > or <) it is up to you, or a range.
The script should check and validate the folder name, and the size
The script should loop until find all files greater than the specified size in all the sub-folders
3) Use try-exception block (Make sure that the error messages do not reveal any of the application code)
4) Optionally, you can save the list into a file “Results.txt” using the redirection operator, do not create the file in the script.
Submit your week 5 work in w5_firstname_lastname.txt (Please save the file as a text file and upload the text file here for final review.)
Requirements
Points
Comment block. Instructions on how to run the code with examples
20
Code documentation and comments.
10
Assignment code including creating command line parameter
70
TOTAL POINTS
100
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more