How to get filename from a pid?

Tim Golden mail at
Thu Jun 25 08:52:55 EDT 2009

Dudeja, Rajat wrote:
> Hi,
> I've a PID of a process (the process is a notepad application), 
> I want to know which file is opened by this process.

Is there anything wrong with this answer which I gave you
last week? (Note: there might be, but the fact that you
seem to have ignored it makes me wonder...)


More information about the Python-list mailing list