Oct-09-2019, 01:34 PM
(Oct-09-2019, 01:24 PM)buran Wrote: It's strange that you were not able to extract all info. Just out of curiosity - it would be interesting if you can share the file. It's more likely to get repetitive info then not to get info in the table.
e.g.
from docx import Document doc = Document('some_doc.docx') for table in doc.tables: for row in table rows: for cell in row.cells: print(cell.text)is it some complex table or what?
Not at all. There were two tables with two columns each. I've used the same approach as you did here.
I'm gonna ask if I can share the file regardless that it was shared with us in the other forum. Probably later this evening.
Quote:Perhaps you could write a tutorial on how you used xml and zipfile to get the information.I could try. My English is not so good as I want but I think I can do it.