> Three very simple questions then.
>
> 1. How do I find out a running applications process ID

import os
mypid = os.getpid()

> 2. How do I check if a process ID is bound to a running application.

this is os-specific.  i'm sure there's a windows api provided for it.

> 3. There won't be any issues with different applications trying to read
> and write the same file doing this?

shouldn't be any problem:  only the first app started will write to the file.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to