[python-win32] create word document?

ng hsiaohui nghsiaohui at yahoo.com
Tue Oct 4 10:33:07 CEST 2005


Hi,

I am creating MS word document using python win32.

import win32com.client
w = win32com.client.Dispatch("word.application")
doc = w.Documents.Add("c:/test.doc")


After that where can I find the command use to write
contents in to this word document and to change the
margin and fonts?

Thanks for help.


Regards,
Hsiao Hui

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Python-win32 mailing list