I'm using the PyWin32 extensions to do some Microsoft Office calculations through my Python code.
This is how I start Word:
import win32com.client
wordApp = win32com.client.Dispatch("Word.Application")
# calculations...
# Now, how do I get its PID?
What I am trying to figure out here is how to get the wordApp process ID (PID) since I am not using the subprocess
module here and I can't just type wordApp.pid
.
Thanks in advance.