(self)
return names
create list of disks on Windows for ThisPC folder
create list of disks on Windows for ThisPC folder
create list of disks on Windows for ThisPC folder
def get_disks(self):
        '''create list of disks on Windows for ThisPC folder'''
        names = []
        for s in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ':
            disk = '%s:' % s
            if isdir(disk):
                names.append(disk)
        return names
def get_disks ( self ) : names = [ ] for s in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' : disk = '%s:' % s if isdir ( disk ) : names . append ( disk ) return names