1

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 information.

I know that this feature is working for PDF in GhostScript, but now it needs also working for doc files.

Has somebody suggestions how to solve this issue?

Robert
  • 305
  • 1
  • 2
  • 14

2 Answers2

2

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.

aeros
  • 314
  • 1
  • 3
  • 14
0

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