def _print_wslides(self, file=sys.stdout, base=1): print('Adding slides...') for headers, srt_file, pdf in \ zip(self.headerlist, self.filelist, self.pdflist): srtlst = Sublist(srt_file.path) slidelist = pdf.slist paras = Paralist(srtlst, headers, slidelist) paras.print(file) # import os # for d, subd, files in os.walk('.'): # print(files)
def _print_woutslides(self, file=sys.stdout, base=1): for headers, srt_file in zip(self.headerlist, self.filelist): srtlst = Sublist(srt_file.path) paras = Paralist(srtlst, headers) paras.print(file)