def save(self, pathout, append=False): return basic_file_ops.writefile(pathout, self.list, append=append)
def writefile(self, pathin, listin=None, append=False): if listin is None: listin = self.list return basic_file_ops.writefile(pathin, listin, append=append)
def save_tikz(self, filename): basic_file_ops.writefile(filename, self.tikz_list, append=False)
def save_processed(self): fno, ext = os.path.splitext(self.pathin) out_name = fno + '_processed.md' basic_file_ops.writefile(out_name, self.list) return out_name
def save_gslide_md(self): fno, ext = os.path.splitext(self.pathin) gslides_name = fno + '_gslides.md' return basic_file_ops.writefile(gslides_name, self.list_out)