From 0dd871f709a72a70564495c362355fcfe20d60b9 Mon Sep 17 00:00:00 2001 From: WorldTeacher <41587052+WorldTeacher@users.noreply.github.com> Date: Tue, 29 Oct 2024 12:59:45 +0100 Subject: [PATCH] rework word parser commented out print statements --- src/logic/get_msword_content.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/logic/get_msword_content.py b/src/logic/get_msword_content.py index d8e6e79..4b4e30b 100644 --- a/src/logic/get_msword_content.py +++ b/src/logic/get_msword_content.py @@ -9,19 +9,19 @@ for table in paragraphs: for cell in column.cells: if cellcount < 12: cellcount += 1 - print(f"cell:{cell.text}") + # print(f"cell:{cell.text}") - # print(f'paragraphs[{i}]: {paragraphs[i]}') + # # print(f'paragraphs[{i}]: {paragraphs[i]}') # data[i] = paragraphs[i] # for i in range(0, len(paragraphs)): # for i in range(2, len(paragraphs)): # data[i] = paragraphs[i] -print(data) +# print(data) # for table in wordDoc.tables: # for row in table.rows: -# print('---') +# # print('---') # for cell in row.cells: -# print(f'cell:{cell.text}') +# # print(f'cell:{cell.text}')