Watchdog Python script for Windows file system

非 Y 不嫁゛ 提交于 2020-01-03 15:32:08

问题


I would like to write a small notification script using python watchdog for windows. The script should do - watch a directory and when ever file is created - trigger an exe passing filename as argument.

This says for windows you need "lot of luck!!!" http://packages.python.org/watchdog/installation.html#installation-dependencies How reliable or easy that would be ? Anyone tried such stuff with windows python ..any suggestions ? http://pypi.python.org/pypi/watchdog


回答1:


There are several ways to do this: http://timgolden.me.uk/python/win32_how_do_i/watch_directory_for_changes.html



来源:https://stackoverflow.com/questions/8990551/watchdog-python-script-for-windows-file-system

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!