BioSIMI-Python/modules/System.py
def appendSharedResources(self, list):
        ''' 
        Append the list of resources to the 
        self.ListOfSharedResources 
        '''
        for element in list:
            if type(element) is str: 
                self.ListOfSharedResources.append(element)
            else:
                raise ValueError('List element {0} is not a string'.format(element))
 
        Append the list of resources to the 
        self.ListOfSharedResources 
        
Append the list of resources to the
self.ListOfSharedResources
Append the list of resources to the self . ListOfSharedResources
def appendSharedResources(self, list):
        for element in list:
            if type(element) is str: 
                self.ListOfSharedResources.append(element)
            else:
                raise ValueError('List element {0} is not a string'.format(element))
def appendSharedResources ( self , list ) : for element in list : if type ( element ) is str : self . ListOfSharedResources . append ( element ) else : raise ValueError ( 'List element {0} is not a string' . format ( element ) )
Append the list of resources to the
self.ListOfSharedResources
Append the list of resources to the self . ListOfSharedResources
''' 
        Append the list of resources to the 
        self.ListOfSharedResources 
        '''
self
list