How do I watch a folder for changes and when changes are done using Python?

Posted by yakov on Stack Overflow See other posts from Stack Overflow or by yakov
Published on 2010-03-08T19:28:10Z Indexed on 2010/03/08 20:06 UTC
Read the original article Hit count: 346

Filed under:
|
|
|
|

i need to watch a folder for incoming files. i did that with the following help:
http://stackoverflow.com/questions/182197/how-do-i-watch-a-file-for-changes-using-python
the problem is that the files that are being moved are pretty big (10gb) and i want to be notified when all files are done moving. i tried comparing the size of the folder every 20 seconds but the file shows its correct size even tough windows shows that it is still moving. i am using windows with python

© Stack Overflow or respective owner

Related posts about python

Related posts about pywin32