I\'m trying to extract a content of tables in DOCX Word document, and boy I\'m new to xml/xpath.
from docx import * document = opendocx(\'someFile.docx\') ta
You can extract the table from docx using python-docx. Check the following code:
from docx import Document() document = Document(file_path) tables = document.tables