Python: List files older than or newer than a specific date and time
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 import os, sys from datetime import date, timedelta, datetime from time import localtime import re files = os.listdir(’c:/windows/system32/’) files = [ [...]
Posted on June 7, 2009 at 10:03 am by David Andrzejewski · Permalink
· Comments Closed
In: Jigs · Tagged with: date, filesystem, python, time
In: Jigs · Tagged with: date, filesystem, python, time

