[Python-3000] Removal of os.path.walk

Guido van Rossum guido at python.org
Thu May 1 17:57:10 CEST 2008


On Thu, May 1, 2008 at 7:25 AM, Aahz <aahz at pythoncraft.com> wrote:
>  Actually, the primary application I'm thinking of is a CGI that displays
>  part of a directory listing (paged) for manual processing of individual
>  files.

But wouldn't you usually want the listing sorted, while os.listdir()
doesn't guarantee sorting? So you'd still have to read the entire
thing, sort it, and then display the selected page.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list