Closed Freakwill closed 4 years ago
Got error
pydocx.models.XmlRootElementMismatchException: Expected root element document but got themeManager instead
when running
def doc2text(path): with open(path, 'rb') as fo: return ''.join(list(PyDocXExporter(fo).export())) print(doc2text('/Users/....doc'))
It dose not work for .doc files?!
Got error
pydocx.models.XmlRootElementMismatchException: Expected root element document but got themeManager instead
when running
It dose not work for .doc files?!