watchdogEasy Playground

Monitor filesystem events in real time

Getting started with watchdogRun locally
Install
pip install watchdog
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: watchdog)

watchdog is a third-party package. Monitor filesystem events in real time. Install with: pip install watchdog

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?