Detecting open files and forcing closure

Andrew Robert arobert at townisp.com
Sat Jan 10 03:27:05 CET 2009


Hi Everyone,

We have a process that does a copy of a share from one location to another.

This usually works fine but can occasionally bomb if a file is opened by 
a user somewhere.

Is there a way to code detection of open files and force a close?

The files in question are typically PDF files if that matters.

Any pointers you can provide on this would be greatly appreciated.



More information about the Python-list mailing list