heya there, where's the problem with the following code ? I couldn't see any result while running as a script :
#!/usr/bin/python import time import os def walker2(arg,dirname,filenames): cutoff = time.time() - (arg * 24 * 60 * 60) for filename in filenames : stats = os.stat(dirname + os.sep + filename) modified = stats[8] if modified >= cutoff : print dirname + os.sep + filename os.path.walk('C:\\windows\\system',walker2,30) if I have problem with it then let me know and if is possible please fix it up . thnx . -- http://mail.python.org/mailman/listinfo/python-list