CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Mar 2013
    Posts
    1

    Question 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.
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured