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

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

src/t/w/twander-3.231/twander.py   twander(Download)
if OSPLATFORM == 'win32':
    try:
        from win32api import GetLogicalDriveStrings as GetDrives
        from win32api import GetUserName, GetFileAttributes, GetComputerName, GetDiskFreeSpace, GetVolumeInformation
        from win32file import GetDriveType

src/f/l/flud-HEAD/flud/FludClient.py   flud(Download)
            # XXX: need to test this all out
            import win32api, string
            drives = win32api.GetLogicalDriveStrings()
            driveletters = string.splitfields(drives,'\000')
            for d in driveletters:

src/p/y/pykaraoke-HEAD/pykaraoke.py   pykaraoke(Download)
            try:
                import win32api
                drives = string.split(win32api.GetLogicalDriveStrings(),'\0')[:-1]
            except ImportError:
                # No win32api installed.  Just look for all the likely drive

src/l/i/litebook-HEAD/litebook.py   litebook(Download)
                self.list_ctrl_1.DeleteAllItems()
                drive_list=[]
                drive_str = win32api.GetLogicalDriveStrings()
                drive_list=drive_str.split('\x00')
                drive_list.pop()
                self.list_ctrl_1.DeleteAllItems()
                drive_list=[]
                drive_str = win32api.GetLogicalDriveStrings()
                drive_list=drive_str.split('\x00')
                drive_list.pop()