Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-11-12 20:22:41


"Thorsten Ottosen" <nesotto_at_[hidden]> writes:

> I have a few requests:
>
> 1. there should be a really easy way to iterate over a directory in a
> recursive fashion; possibly
> with the chioce of doing DFS or BFS. I know we have discussed this before,
> but I feel it is so commonly
> used that it should be supported.

Do

   python -c "import os; help(os.walk)"

For a description of a proven interface for this.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk