Skip to content

Instantly share code, notes, and snippets.

View topikito's full-sized avatar
✔️

Roberto Nygaard topikito

✔️
View GitHub Profile
#!/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!"