Create a python script that takes two parameters


Assignment

Create a simple Python application (Save as w5_sharnecia_phillips.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 catch-exception block (Make sure that the error messages do not reveal any of the application code)

4) Save the list into a file "Results.txt" using the redirection operator or by creating the file in the script.

The response should include a reference list. Double-space, using Times New Roman 12 pnt font, one-inch margins, and APA style of writing and citations.

Solution Preview :

Prepared by a verified Expert
Python Programming: Create a python script that takes two parameters
Reference No:- TGS02071754

Now Priced at $40 (50% Discount)

Recommended (92%)

Rated (4.4/5)