(self, file_path, file_range)
return file_paths
expands the file paths, replacing # as specified in the file_range
           @param - file_path with #### or %0.4d notation
           @file_range - a tuple
expands the file paths, replacing # as specified in the file_range
expands the file paths replacing # as specified in the file_range
def _expand_paths(self, file_path, file_range):
        '''expands the file paths, replacing # as specified in the file_range
           @param - file_path with #### or %0.4d notation
           @file_range - a tuple'''
        file_paths = []
        
        frame_start, frame_end, frame_by = self._get_file_range(file_range)
        # support %0.4d notation
        if file_path.find('#') == -1:
            for i in range(frame_start, frame_end+1, frame_by):
                expanded = file_path % i
                file_paths.append( expanded )
        else: 
            # find out the number of #'s in the path
            padding = len( file_path[file_path.index('#'):file_path.rindex('#')
                                 ])+1

            for i in range(frame_start, frame_end+1, frame_by):
                expanded = file_path.replace( '#'*padding, str(i).zfill(padding) )
                file_paths.append(expanded)

        return file_paths
def _expand_paths ( self , file_path , file_range ) : file_paths = [ ] frame_start , frame_end , frame_by = self . _get_file_range ( file_range ) # support %0.4d notation if file_path . find ( '#' ) == - 1 : for i in range ( frame_start , frame_end + 1 , frame_by ) : expanded = file_path % i file_paths . append ( expanded ) else : # find out the number of #'s in the path padding = len ( file_path [ file_path . index ( '#' ) : file_path . rindex ( '#' ) ] ) + 1 for i in range ( frame_start , frame_end + 1 , frame_by ) : expanded = file_path . replace ( '#' * padding , str ( i ) . zfill ( padding ) ) file_paths . append ( expanded ) return file_paths