[python-win32] Determine file being accessed

Neil Benn benn at cenix-bioscience.com
Fri Jan 28 11:49:09 CET 2005


Hello,

          I have a job where I need to move a file on a trigger from 
another program, however this program may or may not have finished 
writing to the file when I need to move it (I have no way of changing 
this behavior).  Therefore I need to determine if a file is still being 
written to, this is on a windows XP box.

    Does anyone know of a way to determine this using python (I'd prefer 
to use python as my company is a python shop and using anything else 
will create support issues)?

    Thanks, in advance for your help.

Cheers,

Neil

-- 

Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Germany

Tel : +49 (0)351 4173 154
e-mail : benn at cenix-bioscience.com
Cenix Website : http://www.cenix-bioscience.com



More information about the Python-win32 mailing list