I have a set of .doc files which I want to perform some simple changes to (e.g. set the font of all the text in each file to be arial).
I don't want to do all the operations manually. I thought I'll try to automate it with a Python script. Is it a complicated task? How is it done?
I use Python 3.
You can use python-docx2txt library to read text from Microsoft Word documents. It is an improvement over python-docx library as it can, in addition, extract text from links, headers and footers. It can even extract images.
You can upload and download files with the Google Docs app for Android. Import: You can open and edit DOC, DOCX, ODT, TXT, RTF, and HTML files.
The Python docx module should be helpful.
(2nd time this question was asked today!)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With