开发者

Is it possible to edit doc files with Python?

开发者 https://www.devze.com 2023-01-26 03:33 出处:网络
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 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.


The Python docx module should be helpful.

(2nd time this question was asked today!)

0

精彩评论

暂无评论...
验证码 换一张
取 消