Re: [python-win32] win32com in a 64bit laptop

2011-10-28 Thread Mark Hammond
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 binar

Re: [python-win32] win32gui.GetCursorInfo: TypeError: function takes no arguments

2011-10-28 Thread Mark Hammond
On 27/10/2011 5:52 PM, Anton Kurbatov wrote: May you help me, pls... I am using win7 ultimate. Installed version of python 2.5.1.1. (ActivePython with pywin32) I get the following msg: import win32gui print win32gui.GetCursorInfo() Traceback (most recent call last): File "", line 1, in Ty

[python-win32] win32com in a 64bit laptop

2011-10-28 Thread love python
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