docx2txt open word file code example Example: read ms word with python import textract text = textract.process("path/to/file.extension")