How do I watch a folder for changes and when changes are done using Python?
- by yakov
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