def get_list(self,tb_name) : name = os.path.join(Recover.Iname,tb_name+'.hpp') txt_name = tb_name+'.txt' s = read(name) s = create_txt(tb_name,s) write(txt_name,s, False) return s
def create_tb_texts(self) : for tb_name in self.get_tb_list() : s = get_list(tb_name) s = create_txt(tb_name,s) write(tb_name+'.txt',s, True)