B
B
bychok3002017-02-18 12:46:07
Python
bychok300, 2017-02-18 12:46:07

How to open .doc in python?

I tried the docx library (but it only works with docx), docx2txt and searched the Internet, I didn’t find anything worthwhile
, I have Word documents in doc format, how can I open them, I mean at least print to the console if you do this:

with open('somefile.doc', 'r') as file:
    print(file)

then there is little sense from this
What are the tools for working with dock files?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
longclaps, 2017-02-18
@bychok300

The open docx format has been replacing the proprietary doc for 10 years, of course, no one will write tools to work with junk.
Create a macro in Word that will convert all your docs to docx, and you'll be fine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question