[python-win32] not defined ?SPIF_UPDATEINIFILE, SPIF_SENDCHANGE, SPIF_SENDWININICHANGE

Tim Roberts timr at probo.com
Thu Jan 22 19:24:33 CET 2015


iMath wrote:
> it seems ‍SPIF_UPDATEINIFILE, SPIF_SENDCHANGE, SPIF_SENDWININICHANGE
> not defined in Pywin32, what should do if  I want to use this constant? ‍
> what the value of each ?

Of course they are defined, in the win32con module, where all good
constants live.

    C:\tmp>python
    Python 3.4.2 (v3.4.2:ab2c023a9432, Oct  6 2014, 22:16:31) [MSC
    v.1600 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import win32con
    >>> win32con.SPIF_UPDATEINIFILE
    1
    >>> win32con.SPIF_SENDCHANGE
    2
    >>>

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list