[Tutor] directory size

lumbricus@gmx.net lumbricus@gmx.net
Fri, 2 Aug 2002 15:57:30 +0200 (MEST)


> How can i determine the size of a directory?
>  In Linux there is a command like " du -hc ." .
>  Is there a similar way in python.

$ man stat
$ python
[ snip ]
>>> import os
>>> print os.stat.__doc__

>  Thanks

HTH,HAND
J"o!

-- 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net