Question: Write a python script to, using the date from the filename, display: -Oldest file -Newest file -How much time has elapsed between the newest
Write a python script to, using the date from the filename, display: -Oldest file -Newest file -How much time has elapsed between the newest and oldest file. Display in days, hours, minutes, and seconds. Use datetime.timediff for each of the three folders.
Step by Step Solution
There are 3 Steps involved in it
import os import datetime def getoldestnewestfilefolderpath Identify the oldest and newest files in ... View full answer
Get step-by-step solutions from verified subject matter experts
