On Dec 28, 2015 2:33 PM, "Chris Barker" <email@example.com> wrote:
> On Tue, Dec 22, 2015 at 4:23 PM, Guido van Rossum <firstname.lastname@example.org> wrote:
>> The two-level iteration forced upon you by os.walk() is indeed often unnecessary -- but handling dirs and files separately usually makes sense,
> indeed, but not always, so a simple API that allows you to get a flat walk would be nice....
The path.py .walk* APIs work great w/ fnmatch: