win32api.GetDiskFreeSpaceEx
tuple = GetDiskFreeSpaceEx(rootPath)
Retrieves information about the specified disk, including the amount of free space available.
Parameters
Win32 API References
Return Value
The return value is a tuple of 3 integers, containing the number of free bytes available the total number of bytes available on disk the total number of free bytes on disk the above values may be less, if user-quotas are in effectIf the function fails, an error is returned.