I want to open a file which is periodically written to by another application. This application cannot be modified. I\'d therefore like to only open the file when I know it
One thing I've done is have python very temporarily rename the file. If we're able to rename it, then no other process is using it. I only tested this on Windows.