larz60+ you don't have to say sorry, instead thank you to both of you to answer!
i tried with python-docx but i wasn't able to read anything, as larz said i think it is mainly for writing docx files. The only example in the documentation i found is this but maybe i wasn't able to have it working
i tried with python-docx but i wasn't able to read anything, as larz said i think it is mainly for writing docx files. The only example in the documentation i found is this but maybe i wasn't able to have it working
import os, io from docx import Document folderPatch = os.getcwd() filePatch = folderPatch+"/test.docx" with open(filePatch, 'rb') as f: source_stream = io.BytesIO(f.read()) print(source_stream) document = Document(source_stream) source_stream.close()about pywin32 i am having some troubble to instal it