I think you should have a look at the filecmp library here: https://docs.python.org/3/library/filecmp.html
filecmp
There are actually already several approaches availible.
watchdog could also be intresting for you: https://pypi.org/project/watchdog/
watchdog
win32 evtlog http://timgolden.me.uk/pywin32-docs/win32evtlog.html
win32 evtlog
a question related to your's: Reading windows event log in Python using pywin32 (win32evtlog module)
1.4m articles
1.4m replys
5 comments
57.0k users