用Python监视windows xp中的文件更改问题

用Python监视windows xp中的文件更改问题,python,python-watchdog,Python,Python Watchdog,我想通过使用Python中的watchdog来监视文件是否被更改,但是当我测试时,终端会给我一个警告 "C:\Python27\lib\site-packages\watchdog\observers\__init__.py:89:UserWarning:Failed to import read_directory_changes. Fall back to polling.warning.warn("Failed to import read_directory_changes. Fall

我想通过使用Python中的watchdog来监视文件是否被更改,但是当我测试时,终端会给我一个警告

"C:\Python27\lib\site-packages\watchdog\observers\__init__.py:89:UserWarning:Failed to import read_directory_changes. Fall back to polling.warning.warn("Failed to import read_directory_changes. Fall back to polling")"
我已经安装了
pip
来安装
watchdog
,但是,我仍然不知道这个问题是如何发生的

以下是测试代码:

# coding=utf-8
import sys
import time
import logging
import urllib
import urllib2
import os
# import MySQLdb
from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler

print "hello"

顺便问一下,在windows xp中监控文件更改有什么好的建议吗?非常感谢。我想问题出在看门狗身上。顺便问一下,有没有什么好的建议来监控windows xp中的文件更改?非常感谢。我认为问题出在看门狗身上