View the step-by-step solution to:

What are the steps I need to take in order to make a Python script that takes two parameters to do the following: 1) List all files names, size, date...

What are the steps I need to take in order to make 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?


3) Parameter2= File size >>> to filter file size (I read that I can do =, > or <, although I'm not sure what this means). or a range. 


I need script to check and validate the folder name, and the size. Help Anyone!!!!!



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)   Optionally, you can save the list into a file "Results.txt" using the redirection operator or by creating the file in the script.

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question