Skip to content Skip to sidebar Skip to footer

Python Merging Doc Files Into 1 Doc File

In Python on Linux I would like to merge several .doc files into 1 .doc file? (The .doc file will be open in Windows machines). I have searched on internet but I don't find useful

Solution 1:

You may want to look into https://github.com/mikemaccana/python-docx which can help with reading/writing msft doc files. Once you have that working its just a simple read and append program.

Solution 2:

You can open and read contents of each files and write them in a separate file. You can File I/O functions.

Post a Comment for "Python Merging Doc Files Into 1 Doc File"