List open files

Mike Driscoll kyosohma at gmail.com
Tue Apr 8 11:47:10 EDT 2008


On Apr 8, 10:16 am, "Bruno GUERPILLON" <b... at bg.fr> wrote:
> Hi,
>
> I'd like, in a WIN32 environment, list all open files.
> Anyone got a clue how to do this ?
>
> Regards,
>
> Bruno.

XP comes with a utility called OpenFiles.exe which supposedly gives
this functionality. You can use Python's subprocess command to run it
and parse its output.

Mike



More information about the Python-list mailing list