Create document with python
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 :)
精彩评论