Re: [Tutor] Win32Com.client help

2006-07-20 Thread Gardner, Dean
Title: RE: [Tutor] Win32Com.client help Apologies Here is the accessor script import win32com.client import tkFileDialog import string, sys   from Excel import * import word #Example of Python controlling external apps #number of the worksheet to be examined _workSheetNumber

Re: [Tutor] Win32Com.client help

2006-07-19 Thread wesley chun
> docString = self.wdApp.Documents[0].Content > return str(docString).decode('latin-1') i've been experimenting with Win32 COM client stuff myself lately, having added a section for it in the upcoming 2nd ed. of Core Python. i haven't tried what you're doing yet though, but i hav

Re: [Tutor] Win32Com.client help

2006-07-18 Thread Bob Gailer
Gardner, Dean wrote: > > Hi > > I have been looking at simple examples of controlling applications > like excel and word using python. All seems well until I read in a > word document with multiple lines. It then seems to pick out seemingly > random sections of the document to display. > > This