process - How to catch file close event in python -


using python 2.7 on windows 7 64 bit machine. how file close event:

  1. when file opened in new process of file opener (like notepad, wordpad opens file everytime in new process of wordpad)
  2. when file opened in tab of file opener (like notepad++, opens files in new tab there exist single process of notepad++ running)

so, how file close event in above cases? possible achieve above cases through common code? dealing different file types.

it can solved scheme, when file opens, process handles it. , when closes, processes controls lost. so, can know whether file closed or not.

i posted in this q&a, , tried watchdog, pywatch , watcher not able file close event


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -