Scriptwriting Question

Learning Goal: I’m working on a scriptwriting exercise and need an explanation and answer to help me learn.

 

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.)

Please refer to the attached sample solution file, w5_first_lastName.txt, for help. In place of first and lastName in the file name make sure your first and last names are present.

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


Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.