I built the 5-slide deck and re-opened it to check it. Appearance is unchecked, because there's no renderer here (LibreOffice isn't installed) and python-pptx can't draw slides. I haven't seen how the slides look, including whether any text overflows, so open it once in PowerPoint or Keynote.
File: q3-update.pptx in the working folder. The build script is build_deck.py, and the re-open check is verify_deck.py.
| # | Layout | Title |
|---|---|---|
| 1 | Title Slide | Q3 Update |
| 2 | Title and Content | Q3 in three points |
| 3 | Title Only | Q3 sales by region (sample data) |
| 4 | Title Only | Q3 sales by region – chart (sample data) |
| 5 | Title Slide | Thank you |
What I verified after re-opening:
- Slide count and size: There are 5 slides at 16:9 (13.333 × 7.5 in, ratio 1.778).
- Titles: Each slide's title matches the list above.
- Bullets: Slide 2 has exactly 3 bullets.
- Speaker notes: Slide 2 has notes, and no other slide does.
- Table: Slide 3 is a native 4×2 table with a header row. It holds North 120, South 95 and West 140, in $K.
- Chart: Slide 4 is a native clustered column chart with one series, "Sales ($K, sample)", and the same three values as the table.
- Sample labels: "Sample" appears on the title slide, in each bullet, in the table header, in both slide titles, in the chart title and series name, in the notes, and on the closing slide.
Assumptions to confirm:
- The company name "Acme Co." and the numbers are made up, as you asked.
- The bullet wording ("West led", "Q4 focus: lift South") is mine, chosen to match the sample numbers.
- The deck uses python-pptx's default theme, which is plain white.
Test run: a five-slide sample deck built with python-pptx in a temporary folder, allowed to write files and run python3 only. I re-opened the file myself: 5 slides at 16:9, a native table, a native chart and notes on slide 2. LibreOffice was not installed, so appearance and text overflow were not checked. All content and numbers are sample.
하는 일
프레젠테이션을 만들거나 바꾸는 Python 스크립트를 쓰고 실행해 PowerPoint에서 깔끔하게 열리게 합니다. 템플릿 자체의 레이아웃과 개체 틀을 채우므로 테마가 유지되고, 나중에 슬라이드 마스터에서 한꺼번에 스타일을 바꿀 수 있습니다. 슬라이드 한 장에 메시지 하나, 짧은 제목, 적은 글머리표를 지키고 자세한 내용은 발표자 노트로 보냅니다. 기본 표, 준 데이터로 만드는 차트, 제공한 이미지 파일을 추가합니다. 기존 덱을 고칠 때는 먼저 슬라이드와 도형의 개요를 출력하고, 요청한 부분만 바꾸며, 서식을 지키기 위해 run 단위로 텍스트를 바꾸고, 새 이름으로 저장합니다. 텍스트, 표, 차트 계열, 노트 추출도 가능합니다. 저장한 뒤 파일을 다시 열어 슬라이드 수, 제목, 노트, 표와 차트 내용을 보고하며 겉모습, 애니메이션, SmartArt은 다루지 않았다고 분명히 밝힙니다.
결과물
.pptx 파일, 스크립트, 슬라이드 목록, 확인 보고서, 확인이 필요한 자리표시자.
이런 때 좋습니다
개요나 데이터를 덱 초안으로 만들거나, 템플릿의 글을 갱신하거나, 기존 프레젠테이션에서 내용을 뽑아낼 때.
중간 위험:지침만 있는 파일로 자체 스크립트는 없지만, Python을 쓰고 실행해 작업 폴더에 파일을 만들며 가상 환경에 python-pptx 설치를 권할 수 있습니다. 원본을 덮어쓰지 않고 매크로를 만들지 않으며 원격 미디어도 가져오지 않습니다. 임시 폴더에서 샘플 숫자로 한 번 시험했고 표, 차트, 노트가 있는 다섯 장짜리 덱을 만들어 제가 다시 열어 확인했습니다. LibreOffice가 없어 겉모습과 글자 넘침은 확인하지 못했습니다. 발표 전에 PowerPoint에서 확인하세요. AIBars 제작(MIT).