[Tutor] Watch folder code - follow up question

Jeff Shannon jeff@ccvcorp.com
Fri, 11 Oct 2002 12:33:08 -0700


dfinner@Kollsman.com wrote:

> I've poked around the web at various Win API sites and have not found anything
> that converts the filter into an integer.  Any idea what
> FILE_NOTIFY_CHANGE_FILE_NAME is as an integer???

There's a win32con module that defines most of the Win API constants:

>>> import win32con
>>> win32con.FILE_NOTIFY_CHANGE_FILE_NAME
1
>>>

Hope that helps...

Jeff Shannon
Technician/Programmer
Credit International