Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/s/a/sabnzbd-HEAD/sabnzbd/misc.py   sabnzbd(Download)
    def diskfree(_dir):
        """ Return amount of free diskspace in GBytes
        """
        try:
            available, disk_size, total_free = win32api.GetDiskFreeSpaceEx(_dir)
    def disktotal(_dir):
        """ Return amount of free diskspace in GBytes
        """
        try:
            available, disk_size, total_free = win32api.GetDiskFreeSpaceEx(_dir)

src/p/y/pyhai-0.1.3/pyhai/plugins/windows/disk.py   pyhai(Download)
            drive_info[drive]['file_system'] = volume_info[4]
 
            space_info = win32api.GetDiskFreeSpaceEx(drive)
            drive_info[drive]['available_bytes'] = space_info[0]
            drive_info[drive]['total_bytes'] = space_info[1]

src/c/o/code-HEAD/win32/df.py   code(Download)
        target = Maps[letter]
        type = -1
        free, total, diskfree = Api.GetDiskFreeSpaceEx(letter)
        used = 100 - (100*diskfree/total)
 
 
        if isReady and type != DRIVE_REMOTE:
            free, total, diskfree = Api.GetDiskFreeSpaceEx(root)
            used = 100 - (100*diskfree/total)
        else:
 
    if isReady and type != DRIVE_REMOTE:
        free, total, diskfree = Api.GetDiskFreeSpaceEx(root)
        used = 100 - (100*diskfree/total)
    else: