[Tutor] recursive glob -- recursive dir walk

2009-06-10 Thread spir
Hello, A foolow-up ;-) from previous question about glob.glob(). I need to 'glob' files recursively from a top dir (parameter). Tried to use os.walk, but the structure of its return value is really unhandy for such a use (strange, because it seems to me this precise use is typical). On the

Re: [Tutor] recursive glob -- recursive dir walk

2009-06-10 Thread Sander Sweers
2009/6/10 spir denis.s...@free.fr: A foolow-up ;-) from previous question about glob.glob(). Hopefully no misunderstanding this time :-) I need to 'glob' files recursively from a top dir (parameter). Tried to use os.walk, but the structure of its return value is really unhandy for such a

Re: [Tutor] recursive glob -- recursive dir walk

2009-06-10 Thread Kent Johnson
On Wed, Jun 10, 2009 at 2:28 AM, spirdenis.s...@free.fr wrote: Hello, A foolow-up ;-) from previous question about glob.glob(). I need to 'glob' files recursively from a top dir (parameter). Tried to use os.walk, but the structure of its return value is really unhandy for such a use

Re: [Tutor] recursive glob -- recursive dir walk

2009-06-10 Thread Martin Walsh
spir wrote: Hello, A foolow-up ;-) from previous question about glob.glob(). I need to 'glob' files recursively from a top dir (parameter). Tried to use os.walk, but the structure of its return value is really unhandy for such a use (strange, because it seems to me this precise use is