How to find a file or a device is currently used by which process or which program ?

Gabriel Genellina gagsl-py at yahoo.com.ar
Tue Oct 10 04:31:26 EDT 2006


At Tuesday 10/10/2006 05:17, fdu.xiaojf at gmail.com wrote:

>When I want to uninstall my usb disk on windows, the operating systems
>sometimes tells me the device is being used by other program. But I
>can't find which program is using it. Can I do this using python ?

I don't know with Python, but Process Explorer from 
www.sysinternals.com will show you all open files from all running processes.


-- 
Gabriel Genellina
Softlab SRL 


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas




More information about the Python-list mailing list