テーブルとテキスト フレームからデータをインポートするコード:
pres = Presentation(ppt_file)
for slide in pres.slides:
for shape in slide.shapes:
if(shape.has_text_frame):
for paragraph in shape.text_frame.paragraphs:
for run in paragraph.runs:
print run.text
私はこのようなスライドを持っています:
出力: ランニングテキスト
テキストは左側のフレームまたは大きなボックスから読み取られていますが、右側の 2 つのフレームからは読み取られていません。