Question: Devise a Python script that takes two parameters to do the following:- 1)List all files names, size, date createdin the given folder 2)Parameter1 = Root
Devise a Python script that takes two parameters to do the following:-
1)List all files names, size, date createdin 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 catch-exception block (Make sure that the error messages do not reveal any of the application code)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
