document = opendocx('Hello world.docx')
docbody = document.xpath('/w:document/w:body', namespaces=wordnamespaces)[0]
print(getdocumenttext(document))
Best way to extract text from a Word doc without using COM/automation?