March 28th, 2013, 01:01 PM
Importing text files as paragraphs into a MS document
I have this incredibly long python script that ultimately ends up with several text tiles that I would like to import into a preformatted MS Word document/template. I want the files imported into the document and then displayed with MS Word for review.
Can this be done? And if so, what approaches would you, the python gurus, recommend?
I attached some very small sample files in hopes that I could get some specific code examples to go by and then modify as I progress through the text file generation scripting process Ė which is on-going. Letís assume files are kept in C:\Test. Using python 2.7. MS Word 2007. Please look at these files as they should provide a more clear picture of what I am trying to achieve.
Thank you all in advance.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!