May-17-2017, 05:38 PM
There is a task to open the file (not in the python), let it be txt or word or whatever, for this we use
How then, after closing, to prove that it is closed?
I tried to use
import os os.startfile ('NEWS.txt')Ok, we opened it
How then, after closing, to prove that it is closed?
I tried to use
import psutilAnd watch the processes, but if another file is opened and the previous one is closed, and the process is one. help me please