I am new to python and I want to find all files in a directory that have been created within the past 24 hours. How do I filter the files that were created in 24 hour window.
This code will be used in Python 2.7 on Windows computer.
I am new to python and I want to find all files in a directory that have been created within the past 24 hours. How do I filter the files that were created in 24 hour window.
This code will be used in Python 2.7 on Windows computer.
Get the stat of the file then check if its less then 24 hours... You will need to do loop/recreation...