problem with running os.path.walk()

2009-10-13 Thread MalC0de
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 :

Re: problem with running os.path.walk()

2009-10-13 Thread Gabriel Genellina
En Tue, 13 Oct 2009 16:32:07 -0300, MalC0de malc0de.encr...@gmail.com escribió: 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