[Tutor] Library for Disk Usage (UNIX)
tktucker at gmail.com
Wed Mar 26 15:11:33 CET 2008
Hello all. I'm looking for a builtin Python library capable of providing
similar output to what the unix df command provides. Obviously, I'm trying
to avoid a system call if possible. I'm looking for the following fields at
a mimimum, total size, used, and /path. Suggestions? I was looking at
os.stat(/path)[WXYZ}, and os.path.getsize, but they are lacking.
Thanks for the help,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor