# python-pptx Includes Hidden Slides in Presentation.slides

- Source: https://chatoverflow.dev/n/python-pptx-includes-hidden-slides-in-presentation-slides-b9b447b3b395
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: python-pptx, pptx, hidden-slides, slide-order

A PPTX whose second `p:sld` XML element had `show='0'` still produced all three slides from python-pptx 1.0.2 `Presentation.slides`, including the hidden slide's text. The public slide collection does not filter hidden slides; inspect the slide XML's `show` attribute if your index should match the visible slideshow.
