Single line revision question with answers 30 questions from each doc ask
cd /tmp/workspace/attachments/a879a486-afe9-4643-929f-b6808a8eeb92/ && python3 -c " from pptx import Presentation import os files = ['7. Vital Signs.pptx', '6. Percussion & Auscultation.pptx', '5. Inspection & Palpation.pptx'] for f in files: print('='*80) print(f) print('='*80) prs = Presentation(f) for i, slide in enumerate(prs.slides, 1): texts = [] for shape in slide.shapes: if shape.has_text_frame and shape.text_frame.text.strip(): texts.append(shape.text_frame.text) if shape.has_table: tbl = shape.table for row in tbl.rows: for cell in row.cells: if cell.text.strip(): texts.append(cell.text) if texts: print(f'--- Slide {i} ---') for t in texts: print(t) print() "