Detect File System changes

Lukas Meyer lukasmeyer1 at gmail.com
Fri Dec 23 06:35:53 EST 2005


Hello,

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?

best regards,

Lukas




More information about the Python-list mailing list