win32file.GetDiskFreeSpace

(int, int, int, int) = GetDiskFreeSpace(rootPathName)

Determines the free space on a device.

Parameters

rootPathName : string

address of root path

Return Value

The result is a tuple of integers representing (sectors per cluster, bytes per sector, number of free clusters, total number of clusters)