On Thu, May 1, 2008 at 7:25 AM, Aahz <[EMAIL PROTECTED]> 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/)
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to