Looks like you're only deleting files, with the "if not
os.path.isdir(path)" line. But beyond that, I think there's a problem
with the order in which os.path.walk will call your lister. walk() will
call lister from top-down, whereas a delete type function like this needs to
walk from bottom up.
Problem simpler to write your own little recursive
thingy.
Or,
you could cheat.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Adam Getchell Sent: Sunday, May 12, 2002 1:50 AM To: [EMAIL PROTECTED] Subject: Shell tool
|
- Shell tool Adam Getchell
- Re: Shell tool Richard Kemp
- Re: Shell tool Matthew Sherborne
- Re: Shell tool Patricia J. Hawkins
- Shell tool Adam Getchell
- RE: Shell tool Richard Kemp
- RE: Shell tool Martin Katz