Re: [Tutor] Using os.path.walk

2011-06-22 Thread Kushal Kumaran
On Thu, Jun 23, 2011 at 9:02 AM, Becky Mcquilling wrote: > I have a bunch of files I need to remove in dirs and subdirs when they are > older than 7 days. > I was looking at os.path.walk, to recurse the directories, but I'm having > some difficulties with getting it to return the directory names o

[Tutor] Using os.path.walk

2011-06-22 Thread Becky Mcquilling
I have a bunch of files I need to remove in dirs and subdirs when they are older than 7 days. I was looking at os.path.walk, to recurse the directories, but I'm having some difficulties with getting it to return the directory names or find examples of it's use for something like this. So far, I a