-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
OS: updated ubuntu 24.04
Python: 3.12.8
Python-Docx: 1.1.2
while parsing table in docx, ValueError exception occurred:
ValueError: no tc
element at grid_offset=3
in line: bottom = cell._tc.bottom
code:
for row_idx, row in enumerate(table.rows):
for cell_idx, cell in enumerate(row.cells):
top = cell._tc.top
bottom = cell._tc.bottom
left = cell._tc.left
right = cell._tc.right
docx file: see test.docx in attachment
gerbenvv and piskvorky
Metadata
Metadata
Assignees
Labels
No labels