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

Alfredo P. Ricafort alpot at mylinuxsite.com
Fri Jan 24 04:44:45 EST 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.

AL






More information about the Python-list mailing list