How to merge multiple DOC files into one with Python/console?

1.6k views Asked by At

I am on Ubuntu environment working with a Python/Django Scrapy project.

There are a few scraped files in .doc format, which I want to merge (or more precisely 'append') together, i.e. put the content of second .doc at the end of the first one, etc., resulting in one single .doc file.

What is the programmatic way to achieve it?

1

There are 1 answers

0
lpounng On BEST ANSWER

Solved my own problem - I found the python-docx package suits my purpose, as suggested in this post.