Lukas Meyer wrote: > 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?
We just had a thread on this topic: http://groups.google.com/group/comp.lang.python/browse_frm/thread/b8808c14ecd333ab/ca7110a9776904eb?rnum=4#ca7110a9776904eb Kent -- http://mail.python.org/mailman/listinfo/python-list