Question: I want to create a Python Script that will search through a directory for a specific file. For example, the script will ask which directory
I want to create a Python Script that will search through a directory for a specific file.
For example, the script will ask which directory and let the user choose, if the directory doesn't exist then it will return false.
After that, the user will enter a file name, ex. "name.txt", then the script will search through the whole directory to find if "name.txt" exists.
If there are two "name.txt", use their metadata to compare them and show the differences.
I don't need the whole script but any useful methods, functions that can help me finish this script is appreciated.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
