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: 
  

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

1 Expert Approved Answer
Step: 1 Unlock

import os import datetime def getoldestnewestfilefolderpath Identify the oldest and newest files in ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!