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

All Samples(15)  |  Call(14)  |  Derive(0)  |  Import(1)

src/s/e/seao-0.2/seao/ineptpdf.py   seao(Download)
                             'Download from http://sourceforge.net/projects/pywin32/files/ ')
        try:
            v0 = win32api.GetVolumeInformation('C:\\')
            v1 = win32api.GetSystemInfo()[6]
            # fix for possible negative integer (Python problem)
        self.fileopen['VolType'] = voltype[win32file.GetDriveType(dletter)]        
        # get volume name (urllib quote necessairy?) urllib.quote(
        self.fileopen['VolName'] = urllib.quote(win32api.GetVolumeInformation(dletter)[0])
        # get volume serial number (fix for possible negative numbers)           
        self.fileopen['VolSN'] = str(win32api.GetVolumeInformation(dletter)[1])
        # no c volume so skip it
        self.fileopen['FSName'] = win32api.GetVolumeInformation(dletter)[4]

src/p/y/pyhai-0.1.3/pyhai/plugins/windows/disk.py   pyhai(Download)
 
            try:
                volume_info = win32api.GetVolumeInformation(drive)
            except:
                continue

src/t/w/twander-3.231/twander.py   twander(Download)
    try:
        from win32api import GetLogicalDriveStrings as GetDrives
        from win32api import GetUserName, GetFileAttributes, GetComputerName, GetDiskFreeSpace, GetVolumeInformation
        from win32file import GetDriveType
        from win32wnet import WNetGetUniversalName
            # Drive Label - Drive Might Not Be Available
            try:
                label = GetVolumeInformation(drive)[0]
            except:
                label = NODRIVE

src/l/i/liveusb-creator-HEAD/liveusb/creator.py   liveusb-creator(Download)
                    vol = [None]
                    try:
                        vol = win32api.GetVolumeInformation(drive)
                    except pywintypes.error, e:
                        self.log.error(_('Unable to get GetVolumeInformation(%s): %s') % (drive, e))
    def verify_filesystem(self):
        import win32api, win32file, pywintypes
        self.log.info(_("Verifying filesystem..."))
        try:
            vol = win32api.GetVolumeInformation(self.drive['device'])

src/j/u/JumpScale-core-6.0.0/lib/JumpScale/core/system/windows.py   JumpScale-core(Download)
            raise ValueError("Wrong parameter for WindowsSystem.isNTFSVolume: [%s] is not a valid drive letter." % driveletter)
        fTest = '%s:\\' % driveletter
        volumeInformation = win32api.GetVolumeInformation(fTest)
        fileSystem = volumeInformation[4]
        result = fileSystem == 'NTFS'

src/p/y/python-code-snippets-HEAD/CodeSnippets/VideoTools/shared/BD_objects.py   python-code-snippets(Download)
def get_drive_lable(drive_letter):
    vol_info = win32api.GetVolumeInformation(drive_letter)
    print vol_info
    drive_lable = vol_info[0]
    return drive_lable

src/p/y/python-code-snippets-HEAD/CodeSnippets/VideoTools/eac3to.py   python-code-snippets(Download)
        drive_letter = drive["letter"]
        try:
            vol_info = win32api.GetVolumeInformation(drive_letter)
        except Exception, err:
            print "Skip drive '%s': %s" % (drive_letter, err)

src/g/r/grr-HEAD/client/client_actions/windows/windows.py   grr(Download)
              drive).rstrip("\\")
 
          label, _, _, _, fs_type = win32api.GetVolumeInformation(drive)
          self.SendReply(device=volume,
                         mount_point="/%s:/" % drive[0],

src/w/i/winsys-HEAD/winsys/tests/test_fs/test_volume.py   winsys(Download)
  def get_info (volume):
    return win32api.GetVolumeInformation (volume)
 
  @staticmethod
  def get_volume ():

src/w/i/WinSys-3.x-0.5.2/winsys/tests/test_fs/test_volume.py   WinSys-3.x(Download)
  def get_info (volume):
    return win32api.GetVolumeInformation (volume)
 
  @staticmethod
  def get_volume ():