[python-win32] Selecting text from Microsoft Word 2000usingwin32all

Mark Hammond mhammond at skippinet.com.au
Wed May 14 00:32:45 EDT 2003


> Thank you for that. I didn't know about
> win32com.client.constants. That
> will save ME a lot of effort.

Just a reminder - win32com.client.constants will only have the constants
available after the object has been created with makepy support.  For
example, when you start Python, win32com.client.constants will be empty.  As
soon as you create a Word object (assuming makepy has run),
win32com.client.constants magically gets all Word constants, etc.

ie, don't expect all constants to be there immediately!

Mark.




More information about the Python-win32 mailing list