Revision type questions in single line with answers, each document has 30 questions
cd /tmp/workspace/attachments/c38b4dfd-ebba-43a0-a0c2-9ea3a0e10998/ && python3 -c " from pptx import Presentation import glob for f in sorted(glob.glob('*.pptx')): print('='*80) print('FILE:', f) print('='*80) prs = Presentation(f) for i, slide in enumerate(prs.slides, 1): print(f'--- Slide {i} ---') for shape in slide.shapes: if shape.has_text_frame and shape.text_frame.text.strip(): print(shape.text_frame.text) if shape.has_table: tbl = shape.table for row in tbl.rows: print(' | '.join(c.text for c in row.cells)) "