solved.
i need to convert .doc to .docx with
then
i need to convert .doc to .docx with
soffice --convert-to odt *.doc
then
import os import docx2txt folderPatch = os.getcwd() filePatch = folderPatch+"/test.docx" text = docx2txt.process(filePatch) print (text)