Skip to content

Instantly share code, notes, and snippets.

Roberto Nygaard topikito

View GitHub Profile
View gist:6898695
#!/usr/bin/python
import time
from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler
class MyHandler(FileSystemEventHandler):
def on_modified(self, event):
print "Got it!"
You can’t perform that action at this time.