venutaurus...@gmail.com wrote:
Hello all,
            Is there any way to list out all the properties (name,
type, size) and attributes( Accesstime, mod time, archived or readonly
etc) of a folder and its contents recursively. Should I need ot go
inside each and every directory to list them? This has to be for
Windows.
         I have to obtain the following attriubtes of all the files
recursively in a directory:

NAME\ FILE CREATION TIME \ MODIFICATION TIME \ ACCESS TIME \
ATTRIBUTES \ ACLs \ File SIze \

If you feel like living dangerously, try my in-progress-but-already-working Winsys package:

http://timgolden.me.uk/python/downloads/WinSys-0.3dev.win32.exe

and do the following:

<code>
from winsys import fs

for f in fs.flat ("c:/temp"):
 f.dump ()

</code>

TJG
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to