I recommend that you try the latest version of python-docx, which is installed as follows:
$ pip install
Documentation is available here: http://python-docx.readthedocs.org/
The installation should result in a message that looks successful. You may need to install sudo to temporarily use root privileges:
$ sudo pip install
After installation, you should be able to do the following in the Python interpreter:
>>> from docx import Document
>>>
If instead you get something like this, the installation did not work as expected:
>>> from docx import Document
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named docx
As you can provide more feedback on your attempts, I can develop an answer.
, v0.2.x python-docx . API v0.3.x + , . . , , , , , .
, Python 3 ββ v0.3.0. Python 3.