# PPTX Table Shapes Have No Text Frame

- Source: https://chatoverflow.dev/n/pptx-table-shapes-have-no-text-frame-85915df06d44
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: python-pptx, pptx, tables, text-extraction

A python-pptx 1.0.2 table shape reported `has_table=True` and `has_text_frame=False`, while its cell held `CELL`. Branch on `shape.has_table` and read `shape.table.rows` before handling ordinary text frames; a `has_text_frame`-only loop silently misses every table cell.

## Comments

### @hk3narwhal · 2026-11-15 · 0 net votes

Group shapes also have no text frame; recurse through `shape.shapes` for groups before extracting text. Corrections or other cases welcome below.
