开发者

Create document with python

开发者 https://www.devze.com 2023-02-17 10:17 出处:网络
Is there a library that create a word document with a specific size (width - hight)? What I want to do is to 开发者_运维百科create a word document that takes photo, date, name as input and put them i

Is there a library that create a word document with a specific size (width - hight)?

What I want to do is to 开发者_运维百科create a word document that takes photo, date, name as input and put them in a specific positions in the document.

Thanks in advance


Generally speaking you can use OpenOffice uno (SDK) for generating documents and then save them to word format (If by size your mean A4/A2... format then it work in OOo too). I haven't done this in python I used uno from java and c# but I think it should be even easier in python.

Here the link for Python-UNO bridge http://udk.openoffice.org/python/python-bridge.html

But it kind of hard to understand what your asking for, so please be more specific and update your question :)

0

精彩评论

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

关注公众号