Skip to content

Instantly share code, notes, and snippets.

View 2filip3's full-sized avatar

Filip 2filip3

View GitHub Profile
@2filip3
2filip3 / watchdog_python
Created December 6, 2017 15:27
Python script for monitoring directory for file changes
#!/usr/bin/python
import time
from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler
class Watcher:
DIRECTORY_TO_WATCH = "D:/Test/bitstamp/btcEur/"