Dev with Serdar
Learn coding in Python, Go and Rust from Serdar Yegulalp, software dev specialist and senior writer at InfoWorld.
How to use watchdog to monitor file system changes using Python
Overview
A common problem: you have a directory full of files and want to take some action every time something changes in it. The "Watchdog" library for Python gives you tools to observe changes in a directory structure and take action based on any generated events. Learn how to set up and work with Watchdog in this simple demonstration.


