If your version of Word is 32bit (which it probably is), you should just stick with the 32bit version of Python - it works fine on a 64bit machine.

HTH,

Mark

On 29/10/2011 12:25 PM, love python wrote:

I just got a 64bit laptop and install python 2.7.2 (Windows AMD64 / Intel 64
/ X86-64 binary) and other packages. When i run the previous file, I find to
import win32com.client bc the program needs to read a word document as
follows:

app = win32com.client.gencache.EnsureDispatch('Word.Application')
self.doc = app.Documents.Open(...)

Can someone tell me how I should do here? Thanks.
Bill

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to