Hello there! Want a discount? Grab 5% OFFon your first order!
originalresearchpapers.com logo
Hello there! Want a discount? Grab 5% OFF on your first order!
originalresearchpapers.com logo

  Instructions Create a simple Python application (Save as w5_firstname_lastname.py) . Create a Python script that takes two parameters to do the

 

Instructions

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

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Assignment Prompts:What are the differences between job involvement, organizational commitment, and job satisfaction? Are all three influenced by the

Assignment Prompts: What are the differences between job involvement, organizational commitment, and job satisfaction? Are all three influenced by the same factors? What are the major reasons for job satisfaction? What are the primary consequences of dissatisfaction? Explain Why is it important for managers to understand individual differences at work?

You deserve a bonus!

Subscribe and get regular bonuses and discounts.