inotify - 如何在Windows下使用Python监控文件变动
伊谢尔伦
伊谢尔伦 2017-04-17 11:05:56
0
1
1087

Linux下有pyinotify,Windows下是否有类似的基于事件的文件监控方案?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
洪涛

Windows provides APIs FindFirstFileChange and FindNextFileChange, which can be packaged by yourself with ctypes.

But I recommend you to use a library named watchdog, which is a cross-platform implementation:

pypi: http://pypi.python.org/pypi/watchdog
github repo: https://github.com/gorakhargosh/watch...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template