Alternative to os.listdir()/os.stat()

Alfredo P. Ricafort alpot at
Fri Jan 24 10:44:45 CET 2003

On Fri, 2003-01-24 at 12:15, Tim Roberts wrote:

> You realize, of course that "ls -ltra" does exactly what your loop does?
> The only difference is that it's in C.

Actually, I am considering of calling the 'ls' thru os.exec.  Maybe this
one is faster.


More information about the Python-list mailing list