How do I launch a file in its default program, and then close it when the script finishes?
问题 Summary I have wxPython GUI which allows the user to open files to view. Currently I do this with os.startfile() . However, I've come to learn that this is not the best method, so I'm looking to improve. The main drawback of startfile() is that I have no control over the file once it has been launched. This means that a user could leave a file open so it would be unavailable for another user. What I'm Looking For In my GUI, it is possible to have children windows. I keep track of all of these