[Python-Dev] Function in os module for available disk space, why not?

Fredrik Lundh fredrik@pythonware.com
Tue, 20 Mar 2001 20:20:38 +0100


mal wrote:

>         return s[statvfs.F_BAVAIL] * long(s[statvfs.F_BSIZE])

F_FRAVAIL, not F_BAVAIL

(and my plan is to make a statvfs subset available on
all platforms, which makes your code even simpler...)

Cheers /F