Re: [python-win32] Size of directory

2008-04-26 Thread Mark Hammond
> You have to walk the directory tree and sum each file's size.  Windows does this too > - try your right-click properties on a large directory and see how long it takes. > That's also what du does.  There are, however, some recipes that should make this > fairly simple for you - try this: > http

Re: [python-win32] Size of directory

2008-04-22 Thread Dahlstrom, Roger
You have to walk the directory tree and sum each file's size. Windows does this too - try your right-click properties on a large directory and see how long it takes. That's also what du does. There are, however, some recipes that should make this fairly simple for you - try this: http://asp

Re: [python-win32] Size of directory

2008-04-22 Thread Larry Bates
Tony Cappellini wrote: When I right click on a directory with windows Explorer, a window is displayed showing Size: Size On Disk: Contains: Created: Attributes: (with the appropriate values for each entry) How do I get the same information via Python ? I've looked at os.stat but os.stat(r