Detect File System changes
kent at kentsjohnson.com
Fri Dec 23 14:35:14 CET 2005
Lukas Meyer wrote:
> I'm trying to detect changes in a directory. E.g if someone crates a
> file, i'll execute another function on this file.
> I tried to solve this by creating a loop that permanently checks the
> contents of this directory with os.listdir() and compares it with the
> one before. But this isn't really working properly.
> Can anyone give me a hint to get this working?
We just had a thread on this topic:
More information about the Python-list