I want to be able to drag and drop files remotely in python.
Since I can't get the destination path after the drag and drop, I'm considering using the file hook to get the location of the temporary file I created after the move.
But I don't know how to implement file hooks in python.
I found a case of a file hook written in c++. Can anyone take the time to translate it into python? https://github.com/Eyre-Turing/file_hook.
mark: I have tried to use watchdog to monitor the moving directory, but I am sorry that watchdog cannot do it.